yeah, I just figured that one out :S
now if I could only get my whois to work
on *:TEXT:.whois *:#channel: {
/scid 11 //set -s %whois $address($2, 5) | //set -s %serverwhois $server
/scid 2 /msg #channel $2 ( $+ %whois $+ ) on %serverwhois
}
multiserver whois basically
welp I can help you here replace channel with whatever you want and channels with whatever you want keep the variables the same name because why? well at the end of this scipt i put unset %whois* which by adding a * toghter with %whois unsets all variables that start with %whois
btw, if you need explanation on how this works just say it... I forgot also to mention that the SCID ID's need to be changed with whatever window you got i hope you know exactly how these scid's work

because on your first you you put 11 this would mean the 11th server session
well since no one replyed here yet and i still have availability to edit script ill add reasons why it works or i mean just notes just to let you know you can copy and paste the whole thing because even though theres something like ; sjklfafjfkljsfklfkl < it will not be executed in the script at all
on *:TEXT:*:#channelhere: {
if ($1 == .whois) {
%whois.nick = $2
scid 2 { if (%whois.nick ison #testand) { %whois.address = $address(%whois.nick,5) | %whois.server = $server }
else { goto end }
scid 1 /msg #chaotic $nick $+ , ( $+ %whois.nick $+ ) is on %whois.server
}
:end
unset %whois*
}
on *:TEXT:*:#channelhere: {
; You can replace #channelhere with the channel or put a wildcard to both use command in either query or channel if ($1 == .whois) {
; basically im telling the script if the first word in the text giving by a person is .whois then we execute the commands below... %whois.nick = $2
; We are setting a variable %whois.nick = $2 which $2 = second word in script ex:. .whois johndoe scid 2 { if (%whois.nick ison #testand) { %whois.address = $address(%whois.nick,5) | %whois.server = $server }
; now example this is for server connection 2 so if %whois.nick which really again equals to the same has $2 above and ison #channelwhatever then we set 2 variables %whois.address = $address(%whois.nick,5) and put a line break within the same file which it looks like you already know them and do the second variable %whois.server = $server else { goto end }
; now if the above is false where %whois.nick is NOT on the channel it will go to else which we point the script to go to :END at the bottom as you can see instead of executing the next following command below this note scid 1 /msg #chaotic $nick $+ , ( $+ %whois.nick $+ ) is on %whois.server
; Well this portion is sell explanatory i just changed your varible and scid and added a few things }
:end
; :end is important again its whats called a pointer so if a certain thing is said or done you can tell a script to go there and use another portion of script now it didnt neccesarly needed to be called :END but it makes it easier to follow through on very long script sniplets unset %whois*
; This will unset all variables that start with %whois because of the * being added at the end }
Enjoy m8