Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Deleting Itens
|
Author |
Message |
escribano
Journeyman
Posts: 170
Likes Given: 16
Likes Received: 32 in 23 posts
Joined: Nov 2012
Reputation: 2
Dragon Shard
|
Deleting Itens
Hi Folks...
Im trying to make a script to remove all i_pet_dragons from players... but i need to "pay" 20K for each item deleted to the player that have the pet.
I tryed this:
Code:
FORINSTANCES i_pet_dragon
remove
addgold 20000
ENDFOR
The pet was removed but the gold wont go to the player!
Someone can help me?
Thanks
This actually works:
Code:
FORINSTANCES i_pet_dragon
id i_gold
amount 20000
fix
ENDFOR
Thanks
UltimaPHP - OpenSource Ultima Online Server v0.1-pre-alpha under development, we need help!
(This post was last modified: 12-08-2012 02:09 AM by escribano.)
|
|
12-08-2012 02:05 AM |
|
|
User(s) browsing this thread: 1 Guest(s)