|
mrperson13 Newbie
Joined: 21 May 2002 Posts: 2
|
Posted: Thu Aug 01, 2002 9:45 am
Simple script, shift key |
If anyone out there is interested, could someone come up with a script for me?
All i want it to do, is take the text after say and randomly make them uppercase, or lowercase characters...
example:
you type in 'say Hello there, im so and so'
it shows up as 'hELlO tHeRE, iM sO aND So'
If anyone could help, id greatly apprecite it, and thanks in advance |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Aug 01, 2002 11:02 am |
#CLASS FunkySay
#VAR TempSay
#ALIAS fsay {TempSay="";#LOOP 1,%len("%-1") {TempSay=%concat(@TempSay,%if(%random(0,1),%upper(%copy("%-1",%i,1)),%lower(%copy("%-1",%i,1))))};say @TempSay}
#CLASS 0 |
|
|
|
mrperson13 Newbie
Joined: 21 May 2002 Posts: 2
|
Posted: Thu Aug 01, 2002 11:05 am |
Thanks, and please excuse my not knowing very much about zmud, but i clicked on variables, made a new one, and pasted this into there, and made a name for it.. should it work now? because it isnt... could you please tell me what else to do?
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Aug 01, 2002 11:49 am |
No. What you have to do is copy what Vijilante posted and paste it into the command line in zMUD. Now, press senter and all of those command will create the necessary settings. To use it, you use the fsay alias like this:
fsay message
Example:
fsay Hello there, im so and so
might send to the MUD:
say hELlO tHeRE, iM sO aND So
Kjata |
|
|
|
|
|
|
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
|
|