![](templates/Classic/images/spacer.gif) |
Oracle |
Posted: Fri Jun 07, 2002 8:27 am
General Spell Up Script |
![](templates/Classic/images/spacer.gif) |
Psyrex Beginner
Joined: 28 Jun 2002 Posts: 15 Location: USA
|
Posted: 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=- |
|
|
![](templates/Classic/images/spacer.gif) |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
![](templates/Classic/images/spacer.gif) |
|
|