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.
Old posts that have not been replied to for several years.
g
genius3k
Post
by genius3k » Sat Aug 02, 2003 8:35 pm
How can I make an "if {$arg == hey}" become a wilcard string. What I mean is so it catches if "hey" isin $arg. So I can say hey, I can say heya, heyhey, a hey, blah blah hey blah blah/etc.
Anyone know how I can do that?
droolin
Halfop
Posts: 64 Joined: Thu Jul 24, 2003 9:07 pm
Contact:
Post
by droolin » Sat Aug 02, 2003 9:31 pm
if {[string match *hey* $arg]}
If hey is in the string, it will perform a true condition. If it is not, your else condition(if coded) will be perfomred.
droolin
p.s. Hope I got that right
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Aug 03, 2003 4:39 pm
Also, be shure to consult the manual about the
String to see how to make exact matches and stuff related. Enjoy!
Once the game is over, the king and the pawn go back in the same box.