Some of the text in this script suggests that it's created and/or used by someone who is a little abusive while thinking they're only being funny, to be honest.
Also, most networks running Anope should at least have alias commands like /NickServ
You should use those if possible since they only work when the services are online, which is much more secure for things like identifying with a password. :)
Sorry, Jethro_, the reason I said you might as well check $nick == NickHere is because the code you suggested was no more secure than that. If you are comparing the current address of the person triggering the event (nick!ident@host) against, for example, $address(NickHere,2), the script will be comparing the triggered address with the address of whoever is currently using NickHere.
With that being the case, anyone using NickHere would validate correctly as the desired person.
Jethro_, if you are going to use that first method you might as well check for $nick == NickHere.
The second method is the same deal but it looks at the current address of the nickname compared to the address of the person in the event.
Also, you don't need the iswm operator if you have no wildcard comparison, which is the case when you compare one full address to another full address.
AndroidKnight, use this.
if (*!camron@jackdaniels.aint.got.shoot.on.me iswm $fulladdress) {
IllogicTC, should the dialog somehow manage to close without unsetting the timer due to some error, you would be flooded by errors at what should be once every millisecond, though it probably would be much less.
Even so, I'm fine with the check to make sure that the dialog is open within a command called by a timer.
With 0.0.0.0 alone, you must decide whether your IP address check is based on whether the values are valid (all octets between 0 and 255) or whether the IP address is considered valid (since 0.0.0.0 is never used for anything).
I would personally only change that if 0.0.0.0 is considered invalid by the IP standard.
Your regex is completely invalid.
It matches zero or more number characters (3 times), then zero or more number characters again.
It will be true if you supply a blank string or any reasonable amount of random numbers.
The regular expression for accurately matching an IP address is far more complex.
/echo -q is an echo which doesn't show up if you put the . in front of your alias call.
/.msg hides the echo of your message.
If you created your own /noop alias which pointed to a silenced (e.g. /.noop2) alias then you could use echo -q but that'd be a pain anyway.
The other alternative, of course, is to just use a dud variable in its place.
You don't even need to "negotiate" to $10 - there is a valid discount for $10 still, which has been around for years. For the amount of time I've used it, it's worth the $10.
http://www.mirc.co.uk/register.php?coupon=MIRC-SWV0-MNKL
i think someone should make a MSL program that makes the sockets for you, you type in the triggers and websites - Idea!
That's actually really easy up until the point where you decide how each website must be matched. All websites are arranged differently and sometimes the data comes through on more than one message, making that more difficult.
One solution which can't really fail is to always use a file and binvars, but that will make unnecessarily complicated scripts for most applications.