|
kkalvin26 Newbie
Joined: 19 Oct 2000 Posts: 3 Location: USA
|
Posted: Wed May 08, 2002 5:06 pm
Contructing A Poser... *K*A*L*V*I*N*2*6* |
I want to create an alias.
Example 1: wshout KKALVIN26
Executes : shout *K*A*L*V*I*N*2*6*
Example 2: wshout test
Executes : shout *t*e*s*t*
Any easy Ideas? Thanks...
kkalvin26 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed May 08, 2002 6:51 pm |
This is a simple substitution. I'd recommend using the #LOOP command in conjunction with the %len() function and the %insert() function.
(You did ask for ideas, not solutions, so I assume you'd like to try writing the actual script yourself)
LightBulb
Vague questions get vague answers |
|
|
|
kkalvin26 Newbie
Joined: 19 Oct 2000 Posts: 3 Location: USA
|
Posted: Wed May 08, 2002 8:35 pm |
More help please. This has to be simple but I am just not seeing it...
kkalvin26 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed May 08, 2002 8:51 pm |
Here you go. It should work, but testing is up to you.
#AL {wshout} {#VAR wshout %1;#LOOP 0,%len(%1) {#VAR wshout {%insert("*",@wshout,(i*2)+1)};shout @wshout}
LightBulb
Vague questions get vague answers |
|
|
|
|
|