Originally Posted By: Loki12583
Your requirements can be satisfied with a single line.

Code:
on @*:join:#:.timer 1 3 if ( $nick !isvoice # ) notice $nick $nick $+ , welcome to Derp! To get approved for voice, please message one of the ops after reading the Rules/FAQ.


$nick will not be evaluated in the timer because it's touching the opening parenthesis. You can't use the goto statement like that in the timer. Your else statement is not after the if statement. It is not appropriate to use a goto statement in this, and you should probably not be using them ever.

Is your intention to invite all users to #chan2 when they're oped/voiced on #chan1? Because your if statement is using the wrong channel (they will never be invited). This behavior seems unnecessary anyway.

There's no reason to require it to be put into aliases. Keep the script together.


Gotcha. The fact that I was writing this shortly after I woke up probably didn't help.

Also... your one-line didn't work, unfortunately. However, editing it to this:

Code:
on *:join:#derp:.timer 1 3 if ( $nick !isvoice # ) notice $nick $nick $+ , welcome to Derp! To get approved for voice, please message one of the ops after reading the Rules/FAQ. }


... makes the code work properly.

Last edited by KeiroD; 08/04/14 04:27 AM.