pastebin - collaborative debugging tool
eathena.kpaste.net RSS


.@min_level_to_connect
Posted by Anonymous on Mon 7th Nov 2011 01:15
raw | new post

  1. -       script  only_gms        -1,{
  2. OnPCLoginEvent:
  3.         set .@min_level_to_connect, 10;
  4.         if (getgmlevel() < .@min_level_to_connect) {
  5.                 set .@name$, strcharinfo(0);
  6.                 mes "[Server]";
  7.                 mes "This test server is only for GMs.";
  8.                 sleep 3000;
  9.                 atcommand "@kick " + .@name$;
  10.         }
  11.         end;
  12. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at