Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Thu Dec 12, 2024 5:54 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to create an Alias to stack commands
PostPosted: Sun Oct 31, 2021 8:48 am 
Offline
Mortal

Joined: Tue Aug 12, 2008 10:23 am
Posts: 1009
Location: Gulf Breeze
I ran into some issues trying to explain this to someone and the helpfile didn't really touch on it. You have to use the ( ~ )character to stack commands, ( ; ) is used to separate commands.

Example:

Creatures are constant kicking dirt in your eyes and you are tired of having to manually remove a weapon and wash it out.
You want to remove your longsword and use an eyewasher during training, but you want to be able to do it by entering one command.

-
Alias eyewash remove longsword~;wear eyewasher~;use~;remove eyewasher~;wear longsword

then you just type in 'eyewash' and it will execute those commands

-
You want to spam an ability or spell while training on some monsters, but you just want to use a number and you want to target specific creatures. You have to use ( &* )

alias 2 c 'acid blast' &*~;c 'acid blast' &*~;c 'acid blast' &*

So you have a bat, a roach and a maggot in the sewers and you want to target the roach now

you simply type in 2 roach and you will cast acid blast three times at it

There are 5 similar roaches in the same room, but you only have enough mana to kill one and you don't want to overcast it by killing the first roach only to run out of mana during a fight with the second roach.

You cant target the fifth roach by using 5.roach

So using our previous alias, you simply type in 2 5.roach


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group