This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

chanstas

Support & discussion of released scripts, and announcements of new releases.
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

creasy wrote: ...
And another question, can I use wildcards, like "nick*"?
willyw wrote: ...
If you want to work with a list of nicks, or check against user file for a specific flag, or check to see if poster is an op - it would require a little bit more scripting.
...
and if you want to use wildcards, it would require a little bit more scripting.
:)

One idea, might be to use the
string match
command. Check out : http://www.tcl.tk/man/tcl8.5/TclCmd/string.htm#M39

Something along the lines of:

Code: Select all

if {[string match nick* $nickname]} {
        return 0
      }
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
c
creasy
Voice
Posts: 24
Joined: Sat Mar 05, 2016 4:21 am

Post by creasy »

That fixed it. Thanks for the help guys :)
Post Reply