Address multiple variables - 06/03/13 01:43 AM
So this is my first time scripting for mIRC in a very long time.
What I'm attempting to accomplish is setting a status for individual nicks then calling them all at once with an ON TEXT command.
Setting the variable:
on *:TEXT:@on*:*:/set %status- $+ $nick $nick is on $2-
this part works and creates a var with: %status-(nick) (nick) is on (user text here).
Now I'm attempting to call them and message all of them to a channel.
on $*:TEXT:@status*:*:{ /msg $nick %status-(not sure what to put here) }
So pretty much when someone says @status I would like it to say
%status-WILDCARD is on (text)
%status-WILDCARD is on (text)
%status-WILDCARD is on (text)
Wildcard would be user1, user2, user3, etc.
After this I'm going to remove the var associated with their nick when they QUIT. I've tried multiple things for hours and cannot get it to work.
What I'm attempting to accomplish is setting a status for individual nicks then calling them all at once with an ON TEXT command.
Setting the variable:
on *:TEXT:@on*:*:/set %status- $+ $nick $nick is on $2-
this part works and creates a var with: %status-(nick) (nick) is on (user text here).
Now I'm attempting to call them and message all of them to a channel.
on $*:TEXT:@status*:*:{ /msg $nick %status-(not sure what to put here) }
So pretty much when someone says @status I would like it to say
%status-WILDCARD is on (text)
%status-WILDCARD is on (text)
%status-WILDCARD is on (text)
Wildcard would be user1, user2, user3, etc.
After this I'm going to remove the var associated with their nick when they QUIT. I've tried multiple things for hours and cannot get it to work.