glemor123 1 Posted May 10, 2014 prontera,1,1,1 script NoChatVendPront -1,{OnWhisperGlobal:if (getgroupid()<90){OnInit:setcell "Hallow01",91,113,121,82,cell_nochat,1;setcell "Hallow01",91,113,121,82,cell_novending,1;setcell "Hallow01",99,61,112,49,cell_nochat,1;setcell "Hallow01",99,61,112,49,cell_novending,1;end;}end;} what to do so that gm level greater than level 90 can still create a chatroom Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 10, 2014 You can't do it via current scripting capabilities. Best approach you can do via scripting is MANUALLY disabling the protection either for some seconds then it gets reapplied or until when you manually reapply it. P.S.: That OnWhisperGlobal label you've added is useless, I'd remove it along with its content and its respective end and curly. Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted July 29, 2015 You can't do it via current scripting capabilities. Best approach you can do via scripting is MANUALLY disabling the protection either for some seconds then it gets reapplied or until when you manually reapply it. P.S.: That OnWhisperGlobal label you've added is useless, I'd remove it along with its content and its respective end and curly. but how? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted July 31, 2015 @@glemor123 - script NoChatVendPront -1,{OnInit: setcell "Hallow01",91,113,121,82,cell_nochat,1; setcell "Hallow01",91,113,121,82,cell_novending,1; setcell "Hallow01",99,61,112,49,cell_nochat,1; setcell "Hallow01",99,61,112,49,cell_novending,1; end;OnWhisperGlobal: if (getgroupid() >= 90){ setcell "Hallow01",91,113,121,82,cell_nochat,0; setcell "Hallow01",91,113,121,82,cell_novending,0; setcell "Hallow01",99,61,112,49,cell_nochat,0; setcell "Hallow01",99,61,112,49,cell_novending,0; dispbottom "Chat and vending protection disabled. Will be reenabled automatically in 10 seconds."; sleep2 10000; setcell "Hallow01",91,113,121,82,cell_nochat,1; setcell "Hallow01",91,113,121,82,cell_novending,1; setcell "Hallow01",99,61,112,49,cell_nochat,1; setcell "Hallow01",99,61,112,49,cell_novending,1; dispbottom "Chat and vending protection reenabled."; }} Anyways, I suggest performing a change on src since in these 10 seconds (as an example) anybody can vend on chat on there. Quote Share this post Link to post Share on other sites
what to do so that gm level greater than level 90 can still create a chatroom
Share this post
Link to post
Share on other sites