mIRC Homepage
Posted By: IgnitionCWG right clicking options for SLAP! - 13/10/03 05:52 AM
when i right click on a user one of the options is SLAP! which then slaps the selected user with a large trout...etc... how can i add more options onto that right click of a user so that i can personlize what i do to that person... like DEPANTS! or SHOOT! so that i have more options than just SLAP!

i figure that this is a script problem thats whyi posted it here.
i was also wondering how in the script i can get it to display the user that i select when i run a script like /slap if i have set
/slap /me slaps $1 with a 2 ton sheep
is using the $1 symbol the correct symbol if all i want to do is highlight the user i want to perfrom the action against
Posted By: LocutusofBorg Re: right clicking options for SLAP! - 13/10/03 05:56 AM
alt+p, then choose view->nicklist and look around in there.
Posted By: c0ldfusi0n Re: right clicking options for SLAP! - 13/10/03 05:58 AM
Put that in remotes (ALT+R):
Code:
menu nicklist {
  Custom slap:/describe # $?="What do you want to do to $1 $+ ?" $1
}
Posted By: IgnitionCWG Re: right clicking options for SLAP! - 13/10/03 06:08 AM
thanxs
Posted By: Theos Re: right clicking options for SLAP! - 14/10/03 08:56 PM
Using $$? and $$1 over $1 is the better option with message boxes as you often want to cancel, but clicking cancel won't halt the popup/alias you started, $$1 means it HAS to be filled, cancelling returns null for the variable, thus halting the popup text. This way you don't get: "* Fred slaps hard!" when you want "* you slaps nick hard!"
© mIRC Discussion Forums