modify away script for multiple servers - 20/05/08 01:21 PM
I've been out of the loop for awhile with mIRC scripting, so I'm not sure how to do this. I have this away script:
I'd like this to set me away on all servers that I'm connected to. I know that /scon can be tricky and that you need to be careful with how you use it. What would be the best way to make this work on all servers? Thanks.
Code:
Alias Away { If (!%away.anick) { set %away.anick $$?"What Nick do you want to change into when you go away?" echo $input(Ok. Now type /awayness again,o,Away) } If ($away == $true) { away ame is Back from : ( $+ %away.msg $+ ) Gone For : ( $+ $duration($awaytime) $+ ) nick %away.bnick } Else { set %away.bnick $me set %away.msg $$?"What is your away reason?" ame is Away. Reason : ( $+ %away.msg $+ ) away %away.msg nick %away.anick } }
I'd like this to set me away on all servers that I'm connected to. I know that /scon can be tricky and that you need to be careful with how you use it. What would be the best way to make this work on all servers? Thanks.