|
njms Newbie
Joined: 22 Sep 2004 Posts: 8
|
Posted: Fri Apr 08, 2005 2:38 am
Two simple questions (I think) |
First how do I use #show or #echo to output something to a specific window?
and Second, How do I look through a stringlist and return 1 if a string is in the list and return 0 if it isn't?
like #if @stringlist "contains" string {look} {}? |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Fri Apr 08, 2005 4:08 am |
First question-
Use ":windowname:#SHOW blah whatever" #ECHO will display in whatever window is the focus at the time.
Second Question:
#IF (%ismember("look", @string)) {Commands if it is in there} {Commands if it is not in there} |
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
|
|