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

if uo.poisoned() then
http://forum.yoko.com.ua/viewtopic.php?f=3&t=14648
Page 1 of 1

Author:  Bangbuss [ 2009-04-04 15:47:15 ]
Post subject:  if uo.poisoned() then

pomagite sozdat' skript 6tob kaktoka poisoned char kidaet na sebja cure.

Code:
while not uo.dead()
if uo.poisoned() then
uo.cast('Cure','self')


nado dalshe esli fizzle to eshe raz kastuet, kastuet poka
Code:
not uo.poisoned()

Author:  Egrace [ 2009-04-04 21:22:20 ]
Post subject: 

Code:
while not uo.dead() 
   while uo.poisoned()
     repeat
         uo.cast('Cure','self')
     until not uo.poisoned()
   wend
wend

Попробуй

Author:  Successful [ 2009-04-04 21:34:55 ]
Post subject: 

задержку поставить надо )

Author:  DreadLord [ 2009-04-04 22:21:33 ]
Post subject: 

Egrace wrote:
Code:
while not uo.dead() 
  while uo.poisoned()
    uo.cast('Cure','self')
    wait(1000)
    uo.print('Морфий введен. ')
  wend
  wait(100)
wend
uo.print('[Пиип-пииип-пииииииии] Пользователь мертв.')

Попробуй

Author:  Bangbuss [ 2009-04-05 12:08:21 ]
Post subject: 

spasiba rabotaet.

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