|
harleyx Newbie
Joined: 28 Aug 2003 Posts: 8 Location: USA
|
Posted: Thu Aug 28, 2003 10:00 am
Does zMud have a lowercase function? |
Hello,
I'm trying to setup a trigger in zMud using the zMud script, and in doing so I need to make the player name, which is echoed with the first letter capitalized, into a lowercase name.
This is the trigger in the help file:
#TRIGGER {(%w) tells you} {tell %1 I am busy}
It works fine, but the the command I want to execute will not accept any uppercase in the name.
#TRIGGER {(%w) says, 'acu'} {acupuncture %1}
Is there a lowercase function in zMud? If not is there an easy way to do this in VBscript or Jscript?
Thanks,
Harley |
|
|
|
moksha Novice
Joined: 13 Oct 2002 Posts: 37 Location: United Kingdom
|
Posted: Thu Aug 28, 2003 10:41 am |
Hi
Check out the %lower function in the help file.
#TRIGGER {(%w) says, 'acu'} {acupuncture %lower(%1)}
Moksha |
|
|
|
harleyx Newbie
Joined: 28 Aug 2003 Posts: 8 Location: USA
|
Posted: Thu Aug 28, 2003 11:08 am |
works like a charm. thanks!
|
|
|
|
|
|
|
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
|
|