|
Firey Wanderer
Joined: 30 Dec 2003 Posts: 61 Location: Norway
|
Posted: Sun Dec 05, 2004 3:47 pm
Achaea Infamous |
Hey!
I've tried to make something that adds people to an infamy string list when I honors them.
I've tried this:
#ALIAS honors {honours %1 #IF {param|5 = %w is one of the infamous} {#ADD infamylist {%additem %1}}}
#VARIABLE infamylist
The infamylist should be a string list with all the names of the infamous that I have honors. And via the alias I need something to remove the person when he/she isn't infamous anymore. I also really need to get them to the string list first tho. *g*
Anyone help me with doing this? |
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Sun Dec 05, 2004 11:07 pm |
#alias honors {honours %1}
#trigger {(%w) is one of the infamous} {#additem infamylist {%1}} |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Dec 06, 2004 2:34 am |
Lets try to keep our posts in one forum and not spam the same question in forums where it doesn't belong.
|
|
|
|
Firey Wanderer
Joined: 30 Dec 2003 Posts: 61 Location: Norway
|
Posted: Mon Dec 06, 2004 2:06 pm |
yeah, I know.. I just kinda didn't really get to figure out where I should post it. lol.
Thanks, I think it might work. Although I still need a way to remove the person if he/she's not infamous anymore.. |
|
|
|
Firey Wanderer
Joined: 30 Dec 2003 Posts: 61 Location: Norway
|
Posted: Mon Dec 06, 2004 2:11 pm |
hmm..there's one problem with Kiasyn's... 'cause it only adds He or She to the infamylist, which doesn't help me that much. The honors of a person is like:
Firey (Male Mhun).
He is 59 years old, having been born on the 3rd of Glacian, 320 years after the
fall of the Seleucarian Empire.
He is ranked 2419th in Achaea.
He is the 2nd ranked combatant with a rating of 315.
He is an extremely credible character.
He is one of the Infamous.
He is considered to be approximately equal to your might.
He is a Vashnarian Climber in the Fellowship of Explorers.
He is a member of the clan called 'The Amakiir Family.'
He is a member of the clan called 'The Achaean Curing Project.'
He is a member of the clan called 'Importantest People.'
He is a mentor and able to take on proteges.
His motto: '"Live" = "Evil"..backwards..'
He succeeded in bringing song back to Bopalopia.
He slew Auntie Maim, stopping a nefarious experiment.
He has helped Auntie Maim bring her nephew back from the dead. |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Mon Dec 06, 2004 3:41 pm |
Can you post the mud output if a person is not Infamous. I have an idea how to do this but I would like to see the other output.
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Dec 07, 2004 9:59 am |
Here ya go all wrapped up and untested but I posted it so of course it will work :P
#ALIAS honours {#T+ Infamy;NameVar="%1";InfamyBool=0;~honours %1}
#TRIGGER "Infamy" {%w ~(*~)} {}
#COND {is one of the infamous} {InfamyBool=1} {within|param=15}
#COND {} {#IF (@Infamybool) {#ADDITEM Infamy @NameVar} {#DELITEM Infamy @NameVar}}
EDIT: All better now! |
|
|
|
Firey Wanderer
Joined: 30 Dec 2003 Posts: 61 Location: Norway
|
Posted: Wed Dec 15, 2004 11:30 am |
Haven't got to test it yet...
although if someone is not infamous it will say:
He/She is not known for the acts of infamy.
Gotta test the other stuff when I get home.. not that good with scipting yet, so I can't really see if it works or not yet.
:) |
|
|
|
Firey Wanderer
Joined: 30 Dec 2003 Posts: 61 Location: Norway
|
Posted: Fri Dec 17, 2004 1:53 pm |
hmm... it didn't really work tho. :(
|
|
|
|
|
|