![](templates/Classic/images/spacer.gif) |
Upow Newbie
Joined: 07 Feb 2016 Posts: 5
|
Posted: Sun Feb 07, 2016 1:54 am
new to scripting in cmud but a big fan of the client so far |
I'm used to using mudmaster 2k (mushclient in some cases) and so the coding confuses me, I was able to write a very basic alias for mm2k that essentially lets me change what a macro does, it would go something along the lines of, tt <variable> (target is set to the variable) just hitting t would be another alias to clear the tt variable, that part was simple to figure out on cmud, however I would have an alias that would go something along the lines of (spell1<variable>) would set the attackkind to variable and then the macro would be like kp1 so kp1 would fire the alias, and I cant seem to get it to work on cmud, the very basic alias in mm2k6 was something along the lines of
/alias {tt %0}{/var target $0}
/alias {t}{/empty target}
/alias {action1 %0}{/var $action1 $0}
/macro {kp1}{/var $action1 $target}
I've been reading up as much as I can on the subject but i am at a loss on what to do to make it work the same way on cmud, any assistance would be appreciated |
|
|
![](templates/Classic/images/spacer.gif) |
shalimar GURU
![](images/avatars/114658559147aeed8fee539.gif)
Joined: 04 Aug 2002 Posts: 4685 Location: Pensacola, FL, USA
|
Posted: Sun Feb 07, 2016 2:09 am |
#ALIAS t {target=""}
#ALIAS tt {target=%params}
#ALIAS action1 {action1=%params}
#KEY KEY1 {@action1 @target}
Something like this should do what you want |
|
_________________ Discord: Shalimarwildcat |
|
|
![](templates/Classic/images/spacer.gif) |
Upow Newbie
Joined: 07 Feb 2016 Posts: 5
|
Posted: Sun Feb 07, 2016 2:39 am |
O.o that completely solved it, I've been struggling with that for about a month, thanks a ton!! :)
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|
|
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
|
|