i need a script that add friends and attack everybody if s/he isnt friend...
is that possible?
ADD FRIEND
Moderators: Murderator+, Murderator
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
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:
Something like this:
Code: Select all
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
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact: