Hi,
I wish to receive your help with this..
I have 2 characters with the same script and I want to send a private message if one of my two characters do not have supplies or capacity.
I know that it is possible with NAVI but.. I think that in this way will be easier.
I was thinking to use the "contextmenu()" and send a private message but if it is not on the screen, won't work, so....
i wish to have a Persistent to Check if my other character is in my VIP List and if it is online, select it to send a private message... for example: "Leave", if it is not online, turn off the persistent.
Ifn the other character received the message, it should go to an specific label... for example: gotolabel('leave')
If the character who received the "Leave" message does not respond, re-send the same message .... "Leave", if the character respond "ok" it should turn off this persistent and go to the label "Leave"
To compare the messages received, I already found this...
But I don't know how to send an answer.. xD
Leonardo "Auto Responser" is not that I want for this )
*******
auto(200)
local Friend = "Ganzo" --- Character name who will send the message
foreach newmessage m do
if m.sender == Friend and*m.content == 'leave' then
gotolabel('leave')
waitping()
end
end
Regards!