XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 5 of 5

Thread: When recive prv msg go to x label

  1. #1

    Join Date
    Nov 2013
    Location
    Poland
    Posts
    104
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)

    When recive prv msg go to x label

    Hello guys,

    Its possible to do something like that? My one player send prv msg to second and when he recive msg go to xx label.

    Anyone know how to do it? Im trying with proxy speach but fail.
    GL & HF

  2. #2
    Lifetime Subscriber Kociii's Avatar
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    3,586
    Mentioned
    199 Post(s)
    Tagged
    1 Thread(s)
    Dont think it's possible. I may be wrong



    Free & Open Teamspeak 3 server for everyone!




    My Spotify List



    My Tibia Life



    My Script Thread

  3. #3

    Join Date
    Jun 2015
    Posts
    72
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes. I believe that you need not use a solution like the one you're thinking. I think one module would be enough.
    http://forums.xenobot.net/showthread...d=1#post460853 take as a basis the chat posted here.

  4. #4
    grave18's Avatar
    Join Date
    Mar 2014
    Posts
    74
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    lua code:

    Module.New("PrivateMessage", function()
    PrivateMessageProxy.OnReceive("PrivateMessage", function(proxy, speaker, level, text)
    if (text:find("LoveXB") and speaker == "Fleven") then
    Walker.Goto("X")
    end
    end)
    end)
    Last edited by grave18; 12-23-2015 at 12:53 PM.

  5. #5

    Join Date
    Nov 2013
    Location
    Poland
    Posts
    104
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by grave18 View Post
    lua code:

    Module.New("PrivateMessage", function()
    PrivateMessageProxy.OnReceive("PrivateMessage", function(proxy, speaker, level, text)
    if (text:find("LoveXB") and speaker == "Fleven") then
    Walker.Goto("X")
    end
    end)
    end)
    Shit, it work great, thanks.

    One more question, possible to check if server send msg like quest log updated?

Posting Permissions

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