HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to do a pass gold trigger?

06-24-2003, 02:36 PM#1
Nico
it's like type chat message "give 1 12000"
then u will give 12000 to player1
06-24-2003, 03:06 PM#2
Stormwraith
event - (player types a chat message containing "give 1 12000" as an exact match)
action - player add property (add 12000 to player 1 gold)
that should solve your problem
06-24-2003, 03:11 PM#3
Download
Stormwraith has the right spirit. Do it his way, you'll only have to make 12000 triggers for each player!
06-24-2003, 03:24 PM#4
leppy
lol yes you would.. so you could have a set amount that you give each time you give like 500 gold per time you type "give gold 1"

...or....

you could do some of that fancy shmancy message variable stuff that i don't know how to do, but i know at least one person here does... cuz i've seen it before on here. it's sumthin like (X X) or something... some confuzin @$$ system... yeah.. thats abut as much help i can give :foot:
06-24-2003, 06:33 PM#5
Guest
StormWraith, you forgot one very important part:
Other Action: player add property (add -12000 gold to (Event Response Triggering Player)
Or else you'd have an endless gold mine!
06-24-2003, 07:10 PM#6
Dead-Inside
E: Player X types "Give " as a substring
A: If (Triggering player) current gold equals to or greater then (Enteredchatstring(8,12)) then do nothing else do skip remaning actions
Set (triggering player) current gold = (Triggering player) current gold - (Enteredchatstring(8,12))
Set Player[(Playernumber of(Enteredchatstring(6,7))] current gold = Player[(Playernumber of(Enteredchatstring(6,7))] current gold + (Enteredchatstring(8,12))
Game message XXX

That's what you're looking for.
06-24-2003, 11:55 PM#7
Nico
you are right Dead-Inside, that's what i am looking for. Thanks again.
06-25-2003, 02:26 AM#8
Guest
Why cant people search through the forums before asking a question!??!?