mIRC Home    About    Download    Register    News    Help

Print Thread
#69637 29/01/04 02:16 PM
Joined: Jan 2004
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jan 2004
Posts: 7
Hi,

I mentioned this before, tied into another post thoguh.

How do i make a menu channel popup script, only popup if a certain nick is in the room.

Have tried:

if (NICK isin $chan ) {
menu channel{
stuff here
}
}

and:

if (NICK ison $chan ) {
menu channel{
stuff here
}
}


Thanks in advance

#69638 29/01/04 02:23 PM
Joined: Oct 2003
Posts: 273
E
EVH Offline
Fjord artisan
Offline
Fjord artisan
E
Joined: Oct 2003
Posts: 273
Try this

menu channel {
$iif(NiCk !ison #,$style(2)) My Menu
.Stuff Here:/command
.More Stuff Here:/command
.Even More Stuff Here:/command
}

or even this

menu channel {
$iif(NiCk ison #,My Menu)
.Stuff Here:/command
.More Stuff Here:/command
.Even More Stuff Here:/command
}

* Replace NiCk with whatever nick you want

Last edited by EVH; 29/01/04 02:40 PM.
#69639 29/01/04 02:36 PM
Joined: Jan 2004
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Jan 2004
Posts: 7
thanks, why didnt i think of that :P


Link Copied to Clipboard