![]() |
help with a script - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: help with a script (/Thread-help-with-a-script) |
help with a script - kevin465 - 02-17-2014 11:32 PM Ok i think i need some help for complete my script...because when i link the robe with a player...the player cant equip the robe...i think i need an admin function for set an account donater... like .donater (account name) .... [itemdef i_donate_robe] id = i_robe name = donater robe on=@create hitpoints = 1000 attr = 04 on=@click message [Owner: <link.name>] on=@equiptest if !( strmatch("<link.account>","<src.account>") ) || ( <src.account.donater> == 0 ) src.sysmessage You have not donated for this robe! serv.log <src.name> (<src.account.name>) tried using a death shroud of <link.name> (<link.account.name>) return 1 endif on=@damage return 1 RE: help with a script - Mordaunt - 02-18-2014 02:54 AM what is src.account.donater? an account tag? if so it should be src.account.tag0.donater help with a script - kevin465 - 02-18-2014 03:23 AM Yes i wanna make a donator section but link a robe with an donator account for acces a gate ... Envoyé de mon iPod touch à l'aide de Tapatalk RE: help with a script - amonvangrell - 02-18-2014 06:12 AM here is some VIP items I have on my shard. Code: // \\ |