Signup Now
Results 1 to 7 of 7

Thread: PVT Messages

  1. #1
    Free User
    Join Date
    Oct 2015
    Location
    in the neighborhood
    Posts
    82
    Reputation
    17
    Rep Power
    17

    Lightbulb PVT Messages

    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!

  2. #2
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by Psycho Realm View Post
    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!
    local Friend = "Ganzo"
    auto(2000)
    if itemcount("mana potion") <= 50 then
    say("*"..Friend.."* Without Supplies" )
    end
    Helped you? REP+

  3. #3
    Free User
    Join Date
    Oct 2015
    Location
    in the neighborhood
    Posts
    82
    Reputation
    17
    Rep Power
    17
    Quote Originally Posted by Borges View Post
    local Friend = "Ganzo"
    auto(2000)
    if itemcount("mana potion") <= 50 then
    say("*"..Friend.."* Without Supplies" )
    end
    Borges,

    it will send a private message?

    With this?
    say("*"..Friend.."* Without Supplies" )

    How do they will know if it is online?, how it will select the character to send the private message?

    Regards!
    Last edited by Psycho Realm; 01-11-2017 at 06:06 PM.

  4. #4
    Free User
    Join Date
    Feb 2015
    Posts
    12
    Reputation
    13
    Rep Power
    0
    Quote Originally Posted by Psycho Realm View Post
    Borges,

    it will send a private message?

    With this?
    say("*"..Friend.."* Without Supplies" )

    How do they will know if it is online?, how it will select the character to send the private message?

    Regards!
    yes it will keep sending messages untill ur mana potions are over 50 (or whatever u set up)
    and u dont have to add ur friend to vip list

  5. #5
    Free User
    Join Date
    Oct 2015
    Location
    in the neighborhood
    Posts
    82
    Reputation
    17
    Rep Power
    17
    Ok!

    Understood!

    Regards!

  6. #6
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by Psycho Realm View Post
    Ok!

    Understood!

    Regards!
    to send a PM without open his chat you can use **

    g.e: *Borges* hello
    you will send hello to the character "Borges"
    Helped you? REP+

  7. #7
    Free User
    Join Date
    Oct 2015
    Location
    in the neighborhood
    Posts
    82
    Reputation
    17
    Rep Power
    17
    Quote Originally Posted by Borges View Post
    to send a PM without open his chat you can use **

    g.e: *Borges* hello
    you will send hello to the character "Borges"
    Thanks Borges!

    Regards!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •