mIRC Home    About    Download    Register    News    Help

Print Thread
#73042 28/02/04 09:08 AM
Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
Hi all

for a game i need to voice a person after a amount of points,
lets say 500 or more. They get a message and will be voiced.
The Moderated is off, its just the adding of a +
If they already have the + this message is not to be shown.
I tryd this, but that doesn't work. confused

if ($nick != $vnick) { /msg $chan blablablabla }

Greetz
Aaron


Deridio fatum
#73043 28/02/04 10:17 AM
Joined: Dec 2002
Posts: 349
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
To verify the user isn't already voiced:

if ($nick !isvoice $chan) { /msg $chan blablablabla }

Hope that helps. smile

#73044 28/02/04 10:18 AM
Joined: Oct 2003
Posts: 9
B
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
B
Joined: Oct 2003
Posts: 9
$vnick is only valid while someone is being voiced. Use isvoice instead:
Code:
if ( $nick !isvoice $chan ) { /msg $chan blablabla } 

#73045 28/02/04 12:03 PM
Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
This time it did work! grin

Thank you Skip and Burchov

Greetz
aaron


Deridio fatum

Link Copied to Clipboard