Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Bill
Newbie


Joined: 04 Aug 2002
Posts: 2

PostPosted: Wed Aug 14, 2002 3:29 am   

#type
 
Hi,

I have an alias to search a file for information and return it to me. The problem is that when I search the file for more than one word, a trigger is created that gags the second word.

the alias is

#file 1 nf.txt
#ga
#type 1 "%1"
#cl 1
#ga

I realize that I could put quotes around the search string to avoid this problem, but I always forget. I could also remove the #ga, but I hate being told that a file was opened or closed.

Any help is appreciated and thanks in advance

B
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Aug 14, 2002 3:51 am   
 
That behavior is odd, but a solution might be simple. Try changing #type 1 "%1" to #type 1 "%-1".
Reply with quote
Bill
Newbie


Joined: 04 Aug 2002
Posts: 2

PostPosted: Wed Aug 14, 2002 4:07 am   
 
works great. Thanks again

B
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net