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 Goto page Previous  1, 2
Oracle Posted: Fri Jun 07, 2002 8:27 am
General Spell Up Script
Psyrex
Beginner


Joined: 28 Jun 2002
Posts: 15
Location: USA

PostPosted: Thu Jul 18, 2002 1:19 pm   
 
Well I tried that and it did now work. I have a question though, I did a #show "%2" and as an example it showed:            bless - I don't think this would = "bless" right? With all them leading spaces in %2 this may be my problem? This is my line under the aff trigger - #IF ("%2" = "bless") {#delitem spellstosay {ebless}}. If these spaces are the problem in "%2" how do i get rid of them?

-=Psyrex=-
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Jul 18, 2002 4:07 pm   
 
Use the trim function to remove leading/trailing spaces.
#IF (%trim(%2) = "bless") {#delitem spellstosay {ebless}}

LightBulb
Senior Member
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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