mIRC Home    About    Download    Register    News    Help

Print Thread
#148393 04/05/06 09:44 PM
Joined: May 2006
Posts: 1
L
Mostly harmless
OP Offline
Mostly harmless
L
Joined: May 2006
Posts: 1
Ok, so I'm attempting to use, the window command, but I'd like to have the name be a variable. is this possible? Example: I'm using it in a ctcp event, so I'd like the name of the window to be the nickname of the person who sent me the ctcp.

Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Code:
ctcp *:[color:red]ctcp event[/color]:?:window $nick 


Where event is... well the event (e.g. ping or version)

If that's not what you were wanting then please be more specific.

Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
This might help if you put a @ $+ in the script to form the window.

Quote:
Code:
ctcp *:[color:red]ctcp event[/color]:?:window  [color:red]@ $+ [/color] $nick 


Where event is... well the event (e.g. ping or version)

If that's not what you were wanting then please be more specific.




Intelligence: It's better to ask a stupid question, then to prove it by not asking....
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
Yep, I forgot that bit. Silly mistake on my part.


Link Copied to Clipboard