Jump to content
Kanage

atcommand script

Recommended Posts

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

Try this:

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

Link to comment
Share on other sites

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

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.