mIRC Homepage
Posted By: alex_hill Nick On Channel? - 29/01/04 02:16 PM
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
Posted By: EVH Re: Nick On Channel? - 29/01/04 02:23 PM
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
Posted By: alex_hill Re: Nick On Channel? - 29/01/04 02:36 PM
thanks, why didnt i think of that :P
© mIRC Discussion Forums