HL Response

Platform:  mIRC
Published  Jul 20, 2010
Updated  Jul 20, 2010
This is my first post. It is a very simple script.

line 1: put your main nick where it says NICK HERE
Line 2: (optional change) 10 represents the amount of seconds the script should wait before responding to a particular nick a second time.
Line 5: (optional change) What $nick $+ ? is the actual text that mIRC outputs. on *:TEXT:NICK HERE:*:{
inc -u10 %cspam. [ $+ [ $nick ] ]
if (%cspam. [ $+ [ $nick ] ] <= 1) {
if (%color == $null) { set %color 2 }
if (%color != $null) { timer 1 1 msg #  $+ [ %color ] What $nick $+ ? }
if (%color == 2) { set %color 3 | halt }
if (%color == 3) { set %color 4 | halt }
if (%color == 4) { set %color 7 | halt }
if (%color == 7) { set %color 9 | halt }
if (%color == 9) { set %color 10 | halt }
if (%color == 10) { set %color 11 | halt }
if (%color == 11) { set %color 13 | halt }
if (%color == 13) { set %color 2 | halt }
}
}

Comments

Sign in to comment.
amlette   -  Oct 28, 2010
an other way
Code
 
 Respond  
Lucius   -  Oct 27, 2010
If you don't want to add all the halts, just try putting the if's in reverse order for the colour change. That way it's already past the line it would change the next time round.
Code
 
 Respond  
Savage_CL   -  Jul 21, 2010
Yea lol, not much of an advanced script, just an auto-response that rotates through colors. I couldn't get it to work with the variable, IDK why, and if I don't put in that halts, it will just keep cycling through. endlessly.
 Respond  
Jethro   -  Jul 21, 2010
You don't have to put "NICK HERE." Just do:

on *:TEXT:$(* $+ $mnick $+ *):*:{

Or use $me

Though I'd recommend the use of regex for this.

And may I ask why all the halts?

I'm a little confused as to what it actually does too.
 Respond  
Jamiie   -  Jul 20, 2010
Decently written, what is it for might I ask? Just an auto response?
 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.