ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: frtbkr on August 21, 2012, 09:21:19 AM

Title: Subs
Post by: frtbkr on August 21, 2012, 09:21:19 AM
Hello i want to learn how to add a script as sub, for example; i want to add an auto login script to my Blacksmith bod gathere and by doing that if my internet shut downs, script will resume bod gatharer =) much thnx
Title: Re: Subs
Post by: TrailMyx on August 21, 2012, 09:32:38 AM
Checkout C2s autorelogging script:

http://www.scriptuo.com/index.php?topic=803.0

EN might have one too.
Title: Re: Subs
Post by: frtbkr on August 23, 2012, 07:37:46 AM
Checkout C2s autorelogging script:

http://www.scriptuo.com/index.php?topic=803.0

EN might have one too.

Well i checked that script out, yes its good but the main problem for me , i don't know how to add this scripts as a sub, where should i add/( copy/paste) the auto login script in order implement a sub?
Title: Re: Subs
Post by: Tidus on September 19, 2012, 06:51:09 PM
alot of scripts that are written are not easily made into it's own sub.  Sometimes you have to run it independently and adapt your script to call on it or use global variables. What you are wanting to do is not a simple task and is not one a new person to scripting would be able to do very easily.