1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, PO has ceased our separate tiering and adopted Smogon tiers for SM. More information and updates here.

    Dismiss Notice

[Client Scripting] easier autoresponse + moogle scripts bot

Discussion in 'Server and Client Scripting' started by SongSing, Feb 17, 2014.

  1. SongSing

    SongSing KILLL

    Joined:
    Jan 2, 2013
    Messages:
    641
    Likes Received:
    191
    PO Trainer Name:
    SongSing
    hi i made this a while ago if you find bugs tell me i'll prob fix them

    http://pastebin.com/M1ykymgr

    just c/p into scripts window and do ~help or /help or whatever your moogle thing is for autoresponse commands
    note: it may not work on the first try, you may have to relog
    it will prob give an error like "cannot find whatever" but it should only give it once or twice before creating the files

    Why is it easier singsong?~?!

    Because you don't have to manually edit code! Just use commands to add responses to phrases, and you can even add multiple responses and it will just spout one out randomly!

    Wow! What else?!?!

    You can add blacklists for channels you don't want it to work in (tohjo, etc) and even allow others to add responses to your bot like those other people do for some reason!

    Ahaha, and all this for only $49.95??

    No, it's actually not even costing the cash money!

    How can I h elp!?!

    Submit bugs and, if you want, just improve the code : )
     
    Last edited: Feb 19, 2014
  2. Silone

    Silone Kanade <3

    Joined:
    Jul 31, 2013
    Messages:
    265
    Likes Received:
    3
    PO Trainer Name:
    Silone
    lol, And should you automaticly blacklist tohjo falls? Because People can spam lol
     
  3. Yagura

    Yagura

    Joined:
    Jul 1, 2013
    Messages:
    823
    Likes Received:
    157
    PO Trainer Name:
    Yagura
    Should be all main channels imo. (Tohjo, Trivia, Mafia, Tours, Hangman..)
     
  4. Spriter

    Spriter Banned

    Joined:
    Jan 19, 2014
    Messages:
    70
    Likes Received:
    0
    Manual code is far harder to lose than if its all based on commands.

    Just pointing that out lel
     
  5. SongSing

    SongSing KILLL

    Joined:
    Jan 2, 2013
    Messages:
    641
    Likes Received:
    191
    PO Trainer Name:
    SongSing
    it saves them to files in your po directory that would have no reason to be deleted unless you deleted them :0 so i'd argue that it's actually less likely to be accidentally deleted :p but if you're worried about that it's rly easy to back up (just c/p)

    (18:03:06) +ClientBot: Blacklist
    (18:03:06) +ClientBot: Tohjo Falls, Tournaments, Hangman, Mafia, Trivia

    got that after putting scripts on a comp that never had them before, so it does automatically blacklist them :)
     
    Last edited: Feb 19, 2014