and I also edit the script (changed moneys to Coins)
so I hope this is okay
The weirdest part about this whole thing is that one if the script parts dose not work
yet i coped the others form this one and pasted
they all work fine
here is the script
Code: Select all
"level_trigger_2" = "showgui Shopkeeper"
newgui shopkeeper [
Guitext "What are you looking to buy?" chat
Guibar
Guilist [
guibutton "pie: 5 coins" [
if (> then $Coins 4)
Coins = (- $Coins 5)
Pie = (+ $Pie 1)
I copied the Code above and pasted and edited the pie to swords or treasure
that being said when I talk to him the list appeaser fine
if i click on sword or treasure there is no problems (i have not yet put in him saying "you don't have enough gold " or words to those effects
but the script seems to work
how ever when I click Pie it says "missing )"
I'm thinking its a glitch since the others where coped form that same script and they work
but maybe I'm just blind
"Edit"
Maybe it is the rest of the scripts don't even work?
when i push the button maybe nothing happens?
I don't know
but it is a thought