Yoko
http://forum.yoko.com.ua/

New to scripting help please
http://forum.yoko.com.ua/viewtopic.php?f=17&t=14911
Page 1 of 1

Author:  CaptCrunch101 [ 2009-07-05 17:22:50 ]
Post subject:  New to scripting help please

I am trying to write a script that will use some rides that I have shrunk in my pack. The problem I am running into is that not every time does all of the animals pop out unless I use them as an object.
The question I have is how can I make the id of the animal not change when it unshrink and reshrink.

Here is the script that I have been working on.

Code:
Sub pk()
   UO.exec("usetype ridge")
   wait(300)
   UO.say("all guard me")
   UO.exec("usetype ridge")
   wait(300)
   UO.say("all guard me")
   UO.exec("usetype unicorn")
   wait(300)
   UO.say("all guard me")
end sub


I am very new to coding and injection so if the answer is obvious I am sorry. Any help would be greatly appreciated.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/