|
Klitzke Newbie
Joined: 27 May 2015 Posts: 4
|
Posted: Wed May 27, 2015 9:49 am
Movement |
Hey guys, I've been looking through the forums for the last day or so looking for something that might help with my situation. So far I haven't found anything.
So here it is...
I've been mudding for the last 15+ years using wintin/tintin ect.. type mud clients. I decided to switch to cmud because i like the idea of buttons and having the ability to do so much more. The only problem i'm having is movement. When i type out movement (nneesen) it comes back as "Unkown Command" So i dug a little further and found i have to type . first before any movement longer then one direction at a time. To me this is extremely annoying to do after having my brain trained to quickly type nne or sse ect after a fight to get to the next mob.
So is there any way to switch this off so i can type out directions without having to type . first? I really don't want to have to make an alias for 1000 types of movements to make this work. Or is there another way around this problem?
Thanks |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed May 27, 2015 11:57 am |
Sure there is a way. This script checks against a variable for commands that you might not want expanded, for example "news" is a command on many muds. You would have to make that variable, with the matching name, for yourself.
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger type="Command Input" priority="10" regex="true" copy="yes">
<pattern>^([nsew][nsew]+)$</pattern>
<value>#IF (%ismember(%1, @ExcludedDirExpansionCommands)) {} {
#NOINPUT
$coms=%1
#LOOP %len($coms) {
#SEND {%left($coms,1)}
$coms=%right($coms,1)
}
}</value>
</trigger>
</cmud> |
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Klitzke Newbie
Joined: 27 May 2015 Posts: 4
|
Posted: Wed May 27, 2015 12:40 pm |
Excellent! Thanks Vijilante!
Took a few minutes to figure out how to add that but i figured it out. (still pritty new at this )
Thanks a ton! |
|
|
|
|
|