mIRC Homepage
Posted By: livinloud316 help with naming /window - 04/05/06 09:44 PM
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.
Posted By: schaefer31 Re: help with naming /window - 04/05/06 10:46 PM
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.
Posted By: Othello Re: help with naming /window - 04/05/06 10:51 PM
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.
Posted By: schaefer31 Re: help with naming /window - 04/05/06 10:56 PM
Yep, I forgot that bit. Silly mistake on my part.
© mIRC Discussion Forums