| Yoko http://forum.yoko.com.ua/ |
|
| Heal status http://forum.yoko.com.ua/viewtopic.php?f=20&t=938 |
Page 1 of 1 |
| Author: | Predator [ 2004-07-22 07:13:11 ] |
| Post subject: | Heal status |
sub hp() var i,n i = uo.gethp() n = uo.getmaxhp() while i<n uo.say(str(i)+'/'+str(n)) end sub I don't know how check this "while" everytime when somebody hit me... |
|
| Author: | Yoko [ 2004-07-22 10:05:07 ] |
| Post subject: | |
where is wend? |
|
| Author: | Predator [ 2004-07-22 16:39:26 ] |
| Post subject: | |
Yoko wrote: where is wend?
sub hp() var i,n i = uo.gethp() n = uo.getmaxhp() while i<n uo.say(str(i)+'/'+str(n)) wend end sub It will going to a lot of spam my heal status. I need check this script only once when somebody hit me. |
|
| Author: | Predator [ 2004-07-24 03:43:39 ] |
| Post subject: | |
huh... anybody don't know? |
|
| Author: | BETEPAH [ 2004-07-24 08:44:57 ] |
| Post subject: | |
sub hp() var i,n i = uo.gethp() n = uo.getmaxhp() while i<n uo.say(str(i)+'/'+str(n)) wait(3000) wend end sub |
|
| Author: | Predator [ 2004-07-24 11:59:39 ] |
| Post subject: | |
BETEPAH wrote: sub hp()
var i,n i = uo.gethp() n = uo.getmaxhp() while i<n uo.say(str(i)+'/'+str(n)) wait(3000) wend end sub Check It! I going to spam every 3 second, until I have full hp. I need only, when anybody hits me... |
|
| Author: | BETEPAH [ 2004-07-25 00:11:09 ] |
| Post subject: | |
Need to rewrite all script to make it. |
|
| Author: | hunt3r [ 2004-07-27 20:44:06 ] |
| Post subject: | |
Theres a kind of semantic error on ur script... try to put the Code: i=uo.gethp() inside the while statement, cause if i var arent updated... it always will be the start value of the i... Code: sub hp() |
|
| Author: | The_BoBi [ 2004-07-28 06:57:51 ] |
| Post subject: | |
если можно переведите |
|
| Author: | Sauza [ 2004-07-28 08:14:00 ] |
| Post subject: | |
Search in journal. Code: sub hp() |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|