 |
Ggoss Apprentice
Joined: 01 Nov 2006 Posts: 114
|
Posted: Fri May 29, 2009 8:26 am
Alias help (v3.08) |
Ok basically what i want to do is make an variable that referencs an alias for casting spells.
#alias burnh {cast 'burning hands'}
#alias chill {cast 'chill touch'}
#alias sleep {cast 'sleep'}
#alias acidb {cast 'acid blast'}
#alias shockg {cast 'shocking grasp'}
#alias renf {cast 'ray of enfeeb'}
#alias pwkill {cast 'power word kill'}
#alias pwstun {cast 'power word stun'}
#alias pwblind {cast 'power word blind'}
#alias cone {cast 'cone of cold'}
#alias slow {cast 'slowness'}
#alias bigbyscf {cast 'bigbys clenched fist'}
#alias immo {cast 'immolate'}
#alias aimmo {cast 'acid immolate'}
#alias chain {cast 'chain lightning'}
#alias meteor {cast 'meteorswarm'}
#alias solbeep {cast 'solbeeps missile barrage'}
#alias bigbysch {cast 'bigbys crushing hand'}
#alias antimagic {cast 'anti-magic ray'}
#alias chaosv {cast 'chaos volley'}
#alias ripple {cast 'chaotic ripple'}
#alias nuke1 {#var primarynuke %1;#ECHO {---------- Your primarynuke is now %1 ----------}}
#alias v {#if (%numparam() = 0) {@primarynuke @target} {@primarynuke %params}}
so I want to be able to set nuke1 as pwkill so that when i type v it cast's power word kill vs my target. What i've tried is above andthat doesn't smee to be working, it doesn't want to use the alias, it will just pump out pwkill when i type v. I want it to reference the actual alias and use that. any suggestions? is this even possible?
Thanks in advance |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri May 29, 2009 4:02 pm |
Use #exec, like #exec @primarynuke @target. See also.
|
|
|
|
 |
|
|
|