@
@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.