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

ADD FRIEND
http://forum.yoko.com.ua/viewtopic.php?f=17&t=13908
Page 1 of 1

Author:  punkerman [ 2008-08-15 03:45:10 ]
Post subject:  ADD FRIEND

i need a script that add friends and attack everybody if s/he isnt friend...

is that possible?

Author:  Scripts Writer [ 2008-08-15 11:01:53 ]
Post subject: 

I think that's very difficult, but if u make array with ID and use script, which will compare every element of your array with laststatus ID, and if it's not so ID in your array- attack, or make a msg 'ID found. Friend'

Something like this:

Code:
sub Attack()
 
  DIM Friend[3]
 
  Friend[0]=ID_FirstFriend
  Friend[1]=ID_SecondFriend
  Friend[2]=ID_ThirdFriend

  var i
  for i=0 to 2
    if uo.GetSerial('laststatus')==Friend[i] then
      uo.Say('Hi, friend!')
      wait(100)
    else
      uo.Attack('laststatus')
    end if
  next
end sub

Author:  punkerman [ 2008-08-15 17:47:32 ]
Post subject: 

Quote:
sub Attack()

DIM Friend[3]

Friend[0]=ID_FirstFriend
Friend[1]=ID_SecondFriend
Friend[2]=ID_ThirdFriend

var i
for i=0 to 2
if uo.GetSerial('laststatus')==Friend[i] then
uo.Say('Hi, friend!')
wait(100)
else
uo.Attack('laststatus')
end if
next
end sub


does this script attack?

Author:  Scripts Writer [ 2008-08-15 18:48:07 ]
Post subject: 

Code:
uo.Attack('laststatus')


don't you see that?

Author:  punkerman [ 2008-08-17 01:14:18 ]
Post subject: 

oh sry.. i'll try it.. thanks

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