| Yoko http://forum.yoko.com.ua/ |
|
| script connection http://forum.yoko.com.ua/viewtopic.php?f=3&t=12933 |
Page 1 of 1 |
| Author: | Mazer [ 2007-12-19 22:36:47 ] |
| Post subject: | script connection |
I wanted to connect these scripts OR if one of them ends finish another too. Code: sub minround() Code: sub CheckingPlayers() |
|
| Author: | Mihail [ 2007-12-20 00:42:28 ] |
| Post subject: | |
to stop one of scripts U can use Code: uo.exec('terminate minround') or uo.exec('terminate CheckingPlayers')or U can terminate all Code: uo.exec('terminate all')
|
|
| Author: | CuHTpoH [ 2007-12-20 03:23:18 ] |
| Post subject: | |
in order to make good get-away system y have to launch parrallel scripts, one is mining, another always searching for intruders. If there are some - terminate mining script and do not forget to save needed variables in global (as current point of mining, or current cave), make some operations by another script (like teleporting to another cave) and continue mining.. there SO MUCH same scripts and themes about so i see no meaning to repeat them |
|
| Author: | Mazer [ 2007-12-20 07:55:09 ] |
| Post subject: | |
CuHTpoH > my script works like this : i have about ~40 runes in bank.. and one to house 1. i start at house 2. i take pickaxe 3. script recals to 1 mine 4. mine`s around and sercher for peaople.. 5. if it found people or element it recalls home and finish mining script there SO one thing what is bad that script dont finish mining if it detects player.. it mines ant my house until Titles around reached max 10 .. thats all.. By the way i maked skript like sub afk() recalmine1() mining() home() dropores() takepickaxeandregents() end sub then i run ,exec afk and i cant terminate only mining() or Home() i can terminate only afk() but that wont help me.. so terminate is not desission. Thank you |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|