Kanage Posted February 28, 2012 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 162 Reputation: 3 Joined: 01/23/12 Last Seen: October 8, 2012 Share 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 Link to comment Share on other sites More sharing options...
JayPee Posted February 28, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted February 28, 2012 Try this: - script Kicker -,{ set .requiredLevel,80; OnPCLoginEvent: if(getgmlevel()<(.requiredLevel)) atcommand "@kick "+strcharinfo(0); end; } Quote Link to comment Share on other sites More sharing options...
Kanage Posted February 29, 2012 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 162 Reputation: 3 Joined: 01/23/12 Last Seen: October 8, 2012 Author Share Posted February 29, 2012 thanks jay for the helps ^^ good script and its very useful Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 49 minutes ago Share 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 Link to comment Share on other sites More sharing options...
jedwynne Posted May 23, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 68 Reputation: 2 Joined: 03/10/12 Last Seen: July 12, 2012 Share 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 Link to comment Share on other sites More sharing options...
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.