mIRC Home    About    Download    Register    News    Help

Print Thread
Auto voice, when devoiced.. #181365 22/07/07 04:44 PM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
I got this:

on *:-v:#PANGAEA:{
$iif($nick == Gomp,.v+)
}


I also got an alias (v+) that sends a command to X on UnderNet..

Anyone know what I mean?


To compare:

This is one script working..

on *:op:#2012:{
$iif($opnick == Gomp,.mode $chan +v gomp)
$iif($opnick == Gomp,.timer 1 5 /mode $chan -o gomp)
}


I tried to make on from that.. frown

Last edited by gomp; 22/07/07 04:49 PM.

I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.
Re: Auto voice, when devoiced.. [Re: gomp] #181367 22/07/07 04:50 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
on @*:Devoice:#PANGAEA: {
  if ($istok(Gomp,$nick,32)) mode $chan -v $vnick
}


You can add multiple nicks by editting $istok(Gomp,$nick,32))

$istok(Gomp Gomp2 Gomp3 Khaled SladeKraven,$nick,32))

This would only trigger on nicknames Gomp Gomp Gomp2 Gomp3 Khaled and SladeKraven.

Re: Auto voice, when devoiced.. [Re: SladeKraven] #181370 22/07/07 04:59 PM
Joined: Jun 2004
Posts: 243
G
gomp Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Jun 2004
Posts: 243
Thanks!

I made it like so:

on *:Devoice:#PANGAEA:{
$iif($vnick == Gomp,.msg x voice #PANGAEA Gomp)
}

It works now!

And thank you so much for telling me how that works, I bet I will have use for it later on!

:love!:


I do not speak English. I speak Norwegian. So please bear with my poor English spelling and grammar.