|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Sat Sep 05, 2009 8:58 pm
why isn't this working? |
#if (@//night/gauge/Soul = @//night/gauge/SoulMax) {%item(@botting,@i)} {Wait 60000;%item(@botting,@i)}
basically Soul is the magic spell points that priests have.
i am trying to see if night my priest is at full Soul points, so i am doing a comparision saying is Soul = SoulMax, if it is run my next bot script else wait 1 min. its not wiating when the soul is below max.
i can't seem to see why. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sun Sep 06, 2009 3:31 am |
You need to use the command character before wait.
So it should be #wait 60000 instead of wait 60000 |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Sun Sep 06, 2009 1:58 pm oh golly |
thanks ... that makes me laugh i spent probably an hour trying to figure it out. i run into alot of CMUD bugs so i figured it must be a CMUD issue. i didn't look hard enough.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Sep 06, 2009 4:33 pm |
Another thing is your usage of %item(@botting,@i).
It's not intended to start a CMUD line with functions, or to just list the function. You /really/ need to change that to:
#SEND %item(@botting,@i)
so that your script doesn't break any further. :P
Charneus |
|
|
|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Thu Sep 17, 2009 12:43 am |
Charneus you are awsome, i put in #send in my bots and all the buggy crap went away. it was working most of the time without it, but i would get random weird errors.
Thanks for your input |
|
|
|
|
|