mIRC Home    About    Download    Register    News    Help

Print Thread
#250670 26/01/15 09:54 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline OP
Hoopy frood
OP Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
alias do scid -at1 relay $safe($1-)
alias relay { 
  if ($network == $1) $2-
}
menu channel { 
  No Do : msg #Nillen Testing
  Do : Do Rizon msg #Nillen Testing
}

alias safe return $!decode( $encode($1-, m) ,m)
Since I'm currently on more than 3 networks, I have more than one time accidentally used one of my menus that send a privmsg on the wrong network, thus I came up with this. But is it safe? I'm thinking of using it for more than just my own private client menus and also on remote events.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Jul 2006
Posts: 4,146
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,146
Yes wink


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard