Kanage Posted February 28, 2012 Posted February 28, 2012 pwede po paggawa ng script para sa atcommand na ang GM >= 80 lang pwede pumasok sa server, pag non gm account makikick or di makakapasok. thanks in advance Quote
JayPee Posted February 28, 2012 Posted February 28, 2012 Try this: - script Kicker -,{ set .requiredLevel,80; OnPCLoginEvent: if(getgmlevel()<(.requiredLevel)) atcommand "@kick "+strcharinfo(0); end; } Quote
Kanage Posted February 29, 2012 Author Posted February 29, 2012 thanks jay for the helps ^^ good script and its very useful Quote
Emistry Posted February 29, 2012 Posted February 29, 2012 Tanslated Version : ( Google Translate ) baguhin set requiredLevel, 80.; sa ito OnInit: set requiredLevel, 80.; end; kung hindi man ... Ang iyong script ay "Hindi" gumana nang maayos ... bilang lamang ito suriin para sa gm Antas sa ibaba 0 ... (di-umiiral) dahil ang variable ay hindi tinukoy English Version : change set .requiredLevel,80; into this OnInit: set .requiredLevel,80; end; otherwise...your script will "Not" work properly...as it only check for GM Level below 0..( non-existed ) because the variable is not defined Quote
jedwynne Posted May 23, 2012 Posted May 23, 2012 just wondering if getgmlevel is still working? 'coz i've read from wiki that the new getgmlevel command is now getgroupid. RESOURCES: http://rathena.org/wiki/Getgmlevel Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.