Results 1 to 4 of 4

Thread: Making a script respond to players...?

  1. #1
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default Making a script respond to players...?

    I'd like to try and make my script respond to only a select few of people on this RSPS. It's always to same people who will talk to me and ask if I'm there and stuff. It's the same exact people all the time. I was thinking of just creating a bitmap of the just the persons name in the chatbox and if it so happens to find that bitmap then it responds with just a simple 'Yeah i'm here.. Just AFK abit' or something like that. I'm just wondering how to make the script detect if a certain person is talking to you, and if they're then it responds with a simple TypeSend.

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Like this?

    Simba Code:
    if FindBitmap then   //Your FindBitmap thingy goes here
      TypeLameAFKExcuse; //Your TypeSend message goes here

  3. #3
    Join Date
    Dec 2011
    Posts
    445
    Mentioned
    26 Post(s)
    Quoted
    256 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Like this?

    Simba Code:
    if FindBitmap then   //Your FindBitmap thingy goes here
      TypeLameAFKExcuse; //Your TypeSend message goes here

    Yeah pretty much, it's a Mod who will talk to me. I just don't know if it'd work correctly lol. Created a thread to see if there was a different way for something like this.
    Last edited by Twinki; 05-04-2013 at 05:43 AM.

  4. #4
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Twinki View Post
    Yeah pretty much, it's a Mod who will talk to me. I just don't know if it'd work correctly lol. Created a thread to see if there was a different way for something like this.
    Yeah, this is probably the best way. And as for seeing if it works or not, the best way would be to try it ans see. If it doesn't work then you can post the code and we'll check to see if it's right

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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