I’ve got a request from someone on rAthena Board, he asked me to make custom atcommand. If the command is used, user can’t use any atcommand, he asked me for @lock. When player types @unlock, user can use atcommands again.
I decided to make it. But, I don’t really like that idea, I have my own question, “how can player use @unlock while he/she is locked to use atcommands?”. So I decide give parameter for this custom atcommand, a player name. That mean, GM can use this command to player who will be locked to use atcommand.
The written player name on that command, will not able use atcommand anymore, until player logs out or the GM use @lockcommand again to the locked player.
For an example, I want player name, A is locked to use any atcommand, so I can type
and to unlock, I must use the same atcommand with same player name.
These the screenshots of @lockcommand used for.
Download @lockcommand command – Custom command to lock player using atcommand – Free code!
*Above are Mediafire links*
- lockcommand() script – Lock player atcommand using NPC script – Free Code!
- unlockcommand() script – Unlock player atcommand using NPC script – Free Code!
- checklockcommand() script – Check player atcommand lock status using NPC script – Free Code!