Advertisement
splint

Magic Conch

Feb 8th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.59 KB | None | 0 0
  1. on *:Text:*:#:{
  2.   if (Magic Conch, isin $1-) {
  3.     if ((%floodquestion) || ($($+(%,floodquestion.,$nick),2))) { return }
  4.     set -u5 %floodquestion On
  5.     set -u5 %floodquestion. $+ $nick On
  6.     msg $chan $read(answer.ini)
  7.   }
  8.  
  9. /*
  10. alright dickhead, eres wat u do m8. the "Magic Conch," bit is the trigger text. change that to exactly what you want. the answer.ini is the document it randomly selects a response from. each response must be on a separate line and the answer.ini document goes in the following: %appdata%/mIRC/
  11. all files that you want to be read/written by mIRC go there.
  12.  
  13. idk how dumb you are but if you dont know where to put lines of code mIRC, they go here http://imgur.com/UYZWxRG under the Remote tab.
  14.  
  15. on the 4th and 5th line of the code you see that it says -u5. that is the cooldown. the 5 is the seconds that the cooldown lasts for, which you can edit to be whatever you like (or delete but honestly you'd have to fuck with the code so much just keep the cooldown lol). if the command isn't working at any point it may be due to the cooldown glitching out, the 2nd tab after Remote is Variables and you can see all the individual cooldowns there. to unjam it or let someone use a command again just delete that variable from the list. (it'll say floodquestion.On and on the next line floodquestion.USERNAME.On). you never need to type in variables as the code will create them automatically.
  16.  
  17. if you want to let moderators add new responses add this:
  18. */
  19.  
  20. on *:TEXT:!addresponse *:#: {
  21.   if ($nick !isOp #) { return }
  22.   write answer.ini $2- $+
  23.   msg $chan Response Added: $2-
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement