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
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Sun May 25, 2003 9:05 pm   

Brain Fart...
 
having a brain fart and i cant remember how to make an alias that will let me type what i want in the middle of it.

IE, i want a Clan Talk alias that says what i want to with -.:text here:.-

Ive tried #AL {ct %1} {~ct -.:(%1):.-} but it doesnt work... thanks

Im dumb, at least i admit it.

<_,-'
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun May 25, 2003 10:06 pm   
 
You're close:
#ALIAS ct {~ct -.:%1:.-}

Kjata
Reply with quote
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Sun May 25, 2003 10:37 pm   
 
danke

<_,-'
Reply with quote
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Sun May 25, 2003 10:42 pm   
 
that only works for 1 word :(

<546hp 360sp 515st> say |C-|c*|C:|Dthis|C:|c*|C- only works for one word
'-*:this:*- only works for one word' you say.
any suggestions?

<_,-'
Reply with quote
Darkmere
Novice


Joined: 23 May 2003
Posts: 31

PostPosted: Sun May 25, 2003 11:03 pm   
 
Use %-1 instead of %1

-Darkmere-
Reply with quote
Brujah
Wanderer


Joined: 13 Nov 2002
Posts: 88
Location: USA

PostPosted: Tue Jun 03, 2003 10:22 am   
 
Ok so this is what im using right now...

#AL {ct} {~ct |M-|m+|M~{|D%-1|M~}|m+|M-}

but i would like it to choose randomly between

{~ct |M-|m+|M~{|D%-1|M~}|m+|M-}
{~ct |C-|c+|C~{|D%-1|C~}|c+|C-}
{~ct |G-|g+|G~{|D%-1|G~}|g+|G-}

how would i go about that?

<_,-'
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Jun 03, 2003 11:23 am   
 
Use %case and %random:
#ALIAS ct {#VAR letter %case(%random(1, 3), "M", "C", "G");~ct %concat("|", @letter, "-|", %lower(@letter), "+|", @letter, "{|D", "%-1", "|", @letter, "}|", %lower(@letter), "+|", @letter, "-")}

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
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