I made a trigger for looting, and i tried to make it in a class named AUTOLOOT and mave aliases like autolooton and autolootoff that turned the class on and off, but it stopped working. :( I was hoping you might write me one pretty please? I am just terrible at this.
Thanks, any help is truly appreciated.
vipabbiple / bizibobble / wibizipple / sinik / gonoc
Kegor can you make me a trigger pretty please?
-
- Sojourner
- Posts: 28
- Joined: Sat Dec 15, 2001 6:01 am
- Location: Maine
- Contact:
Re: Kegor can you make me a trigger pretty please?
I used to do that with a lot of triggers, but I like using variables more now to activate triggers.
It just seems more organized and the #IF seems to process a little quicker with a trig that is always on in more complex scripts.
lootoff - turn looter off
looton - coin looter on
lootall - loot all on
allcoins 6 - loots coins from 1 - 6 corpse
allcorpse 38 - loots all from 1 - 38 corspe
It just seems more organized and the #IF seems to process a little quicker with a trig that is always on in more complex scripts.
Code: Select all
#CLASS {LOOT}
#ALIAS lootoff {#VAR LOOT {0};#ECHO -= Looting: NOTHING =-}
#ALIAS looton {#VAR LOOT {1};#ECHO -= Looting: COINS =-}
#ALIAS lootall {#VAR LOOT {2};#ECHO -= Looting: ALL =-}
#ALIAS allcoins {#LOOP %1 {get coins %i~.corpse};#NOOP}
#ALIAS allcorpse {#LOOP %1 {get all %i~.corpse};#NOOP}
#TRIGGER {You receive your share of experience.$} {#IF (@LOOT = 1) {get coins corpse};#IF (@LOOT = 2) {get all corpse}}
#CLASS 0
lootoff - turn looter off
looton - coin looter on
lootall - loot all on
allcoins 6 - loots coins from 1 - 6 corpse
allcorpse 38 - loots all from 1 - 38 corspe
Last edited by Kegor on Sat Feb 12, 2011 8:35 am, edited 1 time in total.
-
- Sojourner
- Posts: 28
- Joined: Sat Dec 15, 2001 6:01 am
- Location: Maine
- Contact:
Re: Kegor can you make me a trigger pretty please?
tyvm kegor, you're the best!
Re: Kegor can you make me a trigger pretty please?
Can NOT get this to function properly in Cmud..
Any help out there?
The allcoins/corpse loops work fine..
but it simply wont fire/compile on the experience line (which i've updated to -
You receive * experience.
Thanks in advance!
Any help out there?
The allcoins/corpse loops work fine..
but it simply wont fire/compile on the experience line (which i've updated to -
You receive * experience.
Thanks in advance!
stuff.
Who is online
Users browsing this forum: No registered users and 21 guests