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
nilats
Beginner


Joined: 21 Sep 2009
Posts: 17

PostPosted: Fri Aug 03, 2012 1:11 pm   

gah what am i doing wrong ?
 
I seem to be using the %w and %1 incorrectly..

trigger:

a [%w] enters from the east.

response:

o lion bash %1
tar %1
i have an @target system set up which works fine when i manually type in tar [mob]



but its not working! tried reversing the usage of the %w and %1 but to no luck.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Fri Aug 03, 2012 3:24 pm   
 
you need to use the parenthesis to define %1, the square brackets mean something else in pattern matching
your example has %w and %1 in the right place at least
_________________
Discord: Shalimarwildcat
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