SphereCommunity
commands - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: commands (/Thread-commands--3820)



commands - Kapa - 10-18-2014 06:40 PM

Hi, why this script only works on admin account even with gm off and doesnt on normal player account?


[function drinkheal]

src.findid.i_potion_heal.dclick


[function drinkgheal]

src.findid.i_potion_HealGreat.dclick


[function drinkmana]

src.findid.i_potion_Mana.dclick


[function drinktmana]

src.findid.i_potion_manatotal.dclick


[function drinkrefreash]

src.findid.i_potion_Refresh.dclick


[function drinkcure]

src.findid.i_potion_Cure.dclick


[function drinkgcure]

src.findid.i_potion_CureGreat.dclick


[function drinktrefreash]

src.findid.i_potion_RefreshTotal.dclick


[function drinkinvis]

src.findid.i_potion_Invisibility.dclick


[function usebandage]
IF (<SRC.RESTEST 1 i_bandage>)
src.findid.i_bandage.dclick
ELSE
SRC.sysmessage You need some clean bandages
RETURN 1


[EOF]




09:34:a:'kapoklisss' commands 'drinktmana'=0
09:34:a:'Kapa' Says UNICODE 'ENG' '.drinktmana' mode=0
09:34:a:'Kapa' Says UNICODE 'ENG' 'drinktmana' mode=0
09:34:a:'Kapa' Says UNICODE 'ENG' 'drinktmana' mode=0

09:34:c:Login 'kapoklis'
09:34:c:Setup_Start acct='kapoklis', char='qww', IP='127.0.0.1'
09:35:c:'kapoklis' commands 'drinktmana'=1
09:35:c:'kapoklis' commands 'drinktmana'=1
09:35:c:'kapoklis' commands 'gm'=1
09:35:c:'kapoklis' commands 'drinktmana'=1
09:35:c:'kapoklis' commands 'drinktmana'=1
09:36:c:'kapoklis' commands 'drinktmana'=1


RE: commands - azmanomer - 10-18-2014 09:42 PM

[plevel 1]
usebandage
drinkinvis
drinktrefreash
drinkgcure
drinkcure
etc......


RE: commands - MrX - 10-18-2014 10:49 PM

^ you need set commands in correct plevel


RE: commands - Kapa - 10-19-2014 12:32 AM

thx its working