mIRC Home    About    Download    Register    News    Help

Print Thread
I
IgnitionCWG
IgnitionCWG
I
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

Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
alt+p, then choose view->nicklist and look around in there.

Joined: Mar 2003
Posts: 272
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Mar 2003
Posts: 272
Put that in remotes (ALT+R):
Code:
menu nicklist {
  Custom slap:/describe # $?="What do you want to do to $1 $+ ?" $1
}

I
IgnitionCWG
IgnitionCWG
I
thanxs

T
Theos
Theos
T
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!"


Link Copied to Clipboard