people playing: 89, servers online: 25, games played: 142,000,000 Top Player: Money

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Jul 28, 2013   #1
Blam
Now I know my abc's!
This user title is the property of SkulFuk.
 
4th Dan Black Belt
Join Date: Apr 2007
Posts: 5,510
Clan: bncy



[REL] 4.0+ Autorun Scripts
autorun.lua will automatically load up scripts at start time. It is capable of running multiple scripts at once, though they may interfere with each other in strange ways. The best way for developers to keep scripts compatible with on another is to make sure you use prefixed hook names, "scriptname_hook" and local variables.

To install this script, put it in your /data/scripts/ folder as usual and simply run it. You MUST keep the script named as "autorun.lua"

To add scripts to startup, once you've installed the script use the command:
/auto add script.lua

To remove them:
/auto remove script.lua

If you want to run another script while using autorun.lua use the /run command:
/run script.lua
This will run the script without adding it to run at startup.

To uninstall the script, delete "profile.tbs" from your Toribash folder.

Download Here
:D

Last edited by Blam; Jul 29, 2013 at 03:02 PM..
Blam is offline   Reply With Quote
Old Jul 28, 2013   #2
scorpionma
Forumite
 
4th Dan Black Belt
Join Date: Sep 2011
Posts: 2,405



i asked for one before 4-7 days
thank you so much good job
edit:I couldnt get to the site for somereason so i used 3g
to anyone who cant go to that eaither here's some extra links: (if blam doesnt mind)
2shared
thank you so mucH!
Attached Files
File Type: lua autorun.lua (2.1 KB, 66 views)
INB4 14 days ban
scorpionma is offline   Reply With Quote
Old Jul 28, 2013   #3
Blam
Now I know my abc's!
This user title is the property of SkulFuk.
 
4th Dan Black Belt
Join Date: Apr 2007
Posts: 5,510
Clan: bncy



Changed the link to http, hopefully that works.

Update: If you want to load a script, it will unload autorun.lua so I've added a "run" command that will run scripts without unloading the other scripts.

/run ukebot.lua

Will load 'ukebot.lua' while keeping the scripts loaded at startup running too!
:D

Last edited by Blam; Jul 29, 2013 at 03:00 PM..
Blam is offline   Reply With Quote
Old Aug 6, 2013   #4
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



I wrote a script that is able to (auto-) run multiple scripts without conflict some time ago. You can find it in this thread.
Signature temporarily out of order.

Last edited by psycore; Aug 6, 2013 at 04:05 PM..
psycore is offline   Reply With Quote
Old Jan 9, 2014   #5
thegoliath
Member
 
5th Dan Black Belt
Join Date: Dec 2010
Posts: 38



Originally Posted by Blam View Post
Changed the link to http, hopefully that works.

Update: If you want to load a script, it will unload autorun.lua so I've added a "run" command that will run scripts without unloading the other scripts.

/run ukebot.lua

Will load 'ukebot.lua' while keeping the scripts loaded at startup running too!

Can you made /stop ukebot.lua ?
thegoliath is offline   Reply With Quote
Old Sep 25, 2015   #6
ericksousa
Junior Member
 
Black Belt
Join Date: Apr 2013
Posts: 8



Doenst work
ericksousa is offline   Reply With Quote
Old Feb 14, 2016   #7
AwesTube
Junior Member
 
Blue Belt
Join Date: Jul 2014
Posts: 24



This is just the script I was looking for! But there is one big issue, it does not auto load this script. That means that I need to run this script then it will run the other scripts I set it to run. It kind of removes the purpose of this script. Is there a way to fix this?

EDIT: Oh sorry, I found a solution.

Last edited by AwesTube; Feb 14, 2016 at 06:34 PM..
AwesTube is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:49 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game