Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » irc script
Re: irc script [message #315421 is a reply to message #315158] Mon, 04 February 2008 12:13 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
**Note: I wrote this in about 5-8 minutes during my drafting class. It has NOT been tested.

***Note: Someone check my script ^,^

on *:TEXT:*:#:{
  if ($chan == #yourchannel) {
    if ($regex($1-,^(Host:).*commited suicide$)) {
      var %n = $regml(1)
      if (%sui. [ $+ [ %n ] ] == 2) { msg # !pamsg %n Please don't commit suicide! | inc %sui. [ $+ [ %n ] ] 1 }
      elseif (%sui. [ $+ [ %n ] ] == 3) { msg # !qkick %n I said...Please don't commit suicide! | inc %sui. [ $+ [ %n ] ] 1 }
      elseif (%sui. [ $+ [ %n ] ] == 4) { msg # !kick %n I said...Please don't commit suicide! | unset %sui. [ $+ [ %n ] ] }
      else { inc %sui. [ $+ [ %n ] ] 1 | msg # !ppage %n Please don't commit suicide! }
    }
  }
}


~Zack
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: graphics card driver issue: i got it fixed
Next Topic: mt0wn.com
Goto Forum:
  


Current Time: Thu Jan 30 03:19:56 MST 2025

Total time taken to generate the page: 0.00927 seconds