Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
[Twitch] Targeting a user.
Forums
Active Threads
Search
Who's Online
Help
Print Thread
[Twitch] Targeting a user.
#
251718
01/03/15
11:10 AM
Joined:
Mar 2015
Posts: 1
E
EmeraldStar82
OP
Mostly harmless
OP
EmeraldStar82
Mostly harmless
E
Joined:
Mar 2015
Posts: 1
I've been searching for some code that does the following.
EmeraldStar82: !command user1
Bot: user1 was targeted!
I'm new to programming so I don't know much
Copy Link to Clipboard
Re: [Twitch] Targeting a user.
EmeraldStar82
#
251719
01/03/15
11:12 AM
Joined:
Dec 2013
Posts: 779
Sweden
N
Nillen
Hoopy frood
Nillen
Hoopy frood
N
Joined:
Dec 2013
Posts: 779
Sweden
$2 will refer to the 2nd word specified in an on text event.
Basic syntax:
Code:
on *:text:!command &:#: { msg # $2 was targeted! }
Useful reads for starting mSL scripting:
/help on text
/help if then else
/help variables
Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage