mIRC Home    About    Download    Register    News    Help

Print Thread
Comma before $ in identifier, doesn't work #245685 02/05/14 02:23 PM
Joined: Apr 2014
Posts: 14
S
spamgirl Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Apr 2014
Posts: 14
I have a simple script:

on *:text:add this*:?:/msg mybot add,$3

The format has to have the comma right against the text it's pulling from the original message so that the bot it's sent to will add it to the list correctly, but the message has to be passed through me as I'm the only one with privileges on the bot. Is there any way to format that so that the $3 part will work? Thank you!

Last edited by spamgirl; 02/05/14 02:23 PM.
Re: Comma before $ in identifier, doesn't work [Re: spamgirl] #245686 02/05/14 02:26 PM
Joined: Jan 2004
Posts: 1,352
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,352
Code:
on *:text:add this *:?:msg mybot add, $+ $3

Re: Comma before $ in identifier, doesn't work [Re: spamgirl] #245687 02/05/14 02:27 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
add, $+ $3

Damnit, too late.

Last edited by Nillen; 02/05/14 02:27 PM.

Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Comma before $ in identifier, doesn't work [Re: Loki12583] #245690 02/05/14 02:52 PM
Joined: Apr 2014
Posts: 14
S
spamgirl Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Apr 2014
Posts: 14
Thanks, that worked! smile