Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
quick question:
Forums
Active Threads
Search
Who's Online
Help
Print Thread
quick question:
#
213412
26/06/09
08:55 PM
Joined:
Oct 2003
Posts: 3
S
SPooNY
OP
Self-satisified door
OP
SPooNY
Self-satisified door
S
Joined:
Oct 2003
Posts: 3
How would you go about selecting a partial nick in a script with a wild card?
e.x. the user's nick is Franklin
($nick == fran*) isn't working.
Copy Link to Clipboard
Re: quick question:
SPooNY
#
213413
26/06/09
09:19 PM
Joined:
Jul 2006
Posts: 4,212
France
W
Wims
Hoopy frood
Wims
Hoopy frood
W
Joined:
Jul 2006
Posts: 4,212
France
Use the iswm operator (IS Wildcard Match) :
Code:
if (fran* iswm $nick) { }
#mircscripting @
irc.swiftirc.net
== the best mIRC help channel
Copy Link to Clipboard
Re: quick question:
Wims
#
213418
26/06/09
11:03 PM
Joined:
Oct 2003
Posts: 3
S
SPooNY
OP
Self-satisified door
OP
SPooNY
Self-satisified door
S
Joined:
Oct 2003
Posts: 3
thank-you! That's what I was looking for.
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
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage