Jump to content

atcommand script


Recommended Posts


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   3
  • Joined:  01/23/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Try this:


- script Kicker -,{
set .requiredLevel,80;
OnPCLoginEvent:
  if(getgmlevel()<(.requiredLevel))
atcommand "@kick "+strcharinfo(0);
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   3
  • Joined:  01/23/12
  • Last Seen:  

thanks jay for the helps ^^ good script and its very useful

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   2
  • Joined:  03/10/12
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...