simple !rules Script

By Naruto755 on Mar 04, 2010

Delete This Please

on *:TEXT:!rules:#ChannelNameHere: {
  .timer 1 4 notice $nick 3 1.No Flooding
  .timer 1 6 notice $nick 10 2.No Mass Parting/Joining
  .timer 1 8 notice $nick 9 3.No Repeating Yourself
  .timer 1 10 notice $nick 7 4.No Op Abuse
  .timer 1 12 notice $nick 2End Of Rules! 
}

Comments

Sign in to comment.
Korvin   -  Mar 05, 2010

Add a dialog that allows you to add or remove rules for a channel, make it dynamic

 Respond  
SnoooP   -  Mar 05, 2010

I agree with Jethro, and I have also said it to you myself a few times, overuse of regex is lame.

 Respond  
Ghost-writer   -  Mar 04, 2010

Jethro im use to it, why do all of you make such a big deal out of it? Im a bot scripter, im use to making bots applicable to the use of ! @ or .

 Respond  
Korvin   -  Mar 04, 2010
tokenize 44 No Flooding,No Mass Parting/Joining,No Repeating Yourself,No Op Abuse
var %i = 1
while (%i <= $0) { msg # $($+(%i,. ,$,%i),2) | inc %i }
msg # End of rules.
 Respond  
Jethro   -  Mar 04, 2010

Ghost-writer, did it ever occur to you that the regex is not supposed to be treated as a "mass production" of copying and pasting to replace the existing text event...ESPECIALLY for something as simple as one word match....let alone the need to strip out control codes with the /S flag??? It's such a wast of regex engine, though. (other than the added trigger characters for .!@...which in the case, only one ! is needed)

 Respond  
Cados   -  Mar 04, 2010

I agree with napa182. It's too short to put up on hawkee. And a script like that could be made in less than 2 minutes.

 Respond  
Ghost-writer   -  Mar 04, 2010

Nice, you could add regex for it & make the channel a variable, like:

on $*:TEXT:/^[.!@]Rules/Si:%chan: { }

You could also put in maybe changable rules, could come with a dialog or somthing. And if your putting in a variable an on load event that went somthing like

on *:load: set %chan $iif($??"What channel do you want the rules to be displayed in",$v1,$chr(35))
 Respond  
napa182   -  Mar 04, 2010

=/ why even post this?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.