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.

Something

Old posts that have not been replied to for several years.
Locked
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Hi .. if {$arg == "something"} { return } .. How to make this .. if this "something" is in the line, returns else continues the proces? This is a part of a pub msg, and this "something" is the pub msg. If this "something" is in that line don't do nothing .. if is continue the rest of the proces.

Thx!
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Read about the 'string' command, and the 'match' subcommand, at http://www.scriptics.com or tcl.activestate.com.
Locked