Ok... here is my problem. I want to write a smart trigger to loot only gold and platinum and drop the silver and copper... I can't seem to be able to seperate silver and copper if I use silver|copper in the trigger.
My trigger pattern is
There were: (%d) (%w) %w, (%d) (%w) %w, (%d) (%w) %w.
and the command is
#if (%2 = "silver") {drop %1 %2} {put %1 %2 llewyrr}
I want to expand each #if command to have silver and copper but I can't figure out what syntax to use in order for it to recognize silver and copper individually.
[This message has been edited by Kozzloz (edited 11-05-2001).]
[This message has been edited by Kozzloz (edited 11-05-2001).]
Smart Looter
-
- Sojourner
- Posts: 676
- Joined: Fri Jan 26, 2001 6:01 am
- Location: O' Fallon, MO. USA
- Contact:
I used to have many triggers for loot until I condensed them down.
I thought of making it all one slick complex trigger, but then the KISS principle snuck in.
Best I came up with was 4 triggers that look something like this.
#TR {There were:%s(%d) copper} {split %1}
#TR {There were:%s(%d) silver} {split %1}
#TR {There were:%s(%d) gold} {split %1}
#TR {There were:%s(%d) platinum} {split %1}
Simply change the copper one from split to drop if you like.
I thought of making it all one slick complex trigger, but then the KISS principle snuck in.
Best I came up with was 4 triggers that look something like this.
#TR {There were:%s(%d) copper} {split %1}
#TR {There were:%s(%d) silver} {split %1}
#TR {There were:%s(%d) gold} {split %1}
#TR {There were:%s(%d) platinum} {split %1}
Simply change the copper one from split to drop if you like.
I tried
#TR {There were:%s(%d) copper} {drop %1 c} {autoloot}
#TR {There were:%s(%d) silver} {drop %1 s} {autoloot}
#TR {There were:%s(%d) gold} {put %1 g llewyrr} {autoloot}
#TR {There were:%s(%d) platinum} {put %1 p llewyrr} {autoloot}
and it only puts the platinum in my bag and that's it.... *scratch*
#TR {There were:%s(%d) copper} {drop %1 c} {autoloot}
#TR {There were:%s(%d) silver} {drop %1 s} {autoloot}
#TR {There were:%s(%d) gold} {put %1 g llewyrr} {autoloot}
#TR {There were:%s(%d) platinum} {put %1 p llewyrr} {autoloot}
and it only puts the platinum in my bag and that's it.... *scratch*
a workaround could be to define the action something like (ill do it so it works in powwow):
#action >+autolooter There were:={#action +workaround;sco}
#action >-workaround Coins carried: &1 platinum &2 gold &3 silver &4 copper={put $1 p bag;put &2 g bag;dro $3 s;dro $4 c;#action -workaround}
shouldnt it look somethin simmilar in zmud?//fil
[This message has been edited by fildur (edited 11-09-2001).]
#action >+autolooter There were:={#action +workaround;sco}
#action >-workaround Coins carried: &1 platinum &2 gold &3 silver &4 copper={put $1 p bag;put &2 g bag;dro $3 s;dro $4 c;#action -workaround}
shouldnt it look somethin simmilar in zmud?//fil
[This message has been edited by fildur (edited 11-09-2001).]
Who is online
Users browsing this forum: No registered users and 12 guests