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


Joined: 14 Jul 2005
Posts: 22
Location: Budapest

PostPosted: Sat Jul 23, 2005 9:20 am   

#if
 
I am tyring to figure how is zmud working, so i read help file and try commands. But i still dont understand anything. Why dont this work? :
#var line {You recieve 216 coins}
#IF (@line =~ "You receive (%d) coins") {split %%1} <<<this is in help file!
Why doesnt work?

---
Well, it works alredy.
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Sat Jul 23, 2005 8:59 pm   
 
From the looks of it, you are mixing up #VAR and #TRIGGER

For that, all you need is:

Code:

#trigger {You recieve (%d) coins.} {split %1}


As for the help file, the help file in zmud itself is very outdated, I am personally writing the new help file, as im hoping it will help me learn a bit more, even if i am just c/p and editing klinks and alinks and such. When I have a finished help file, ill give it to zugg and let him do what he wishes.
_________________
-Demone YoungBlood
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