Jump to content
  • 0

HOW TO MAKE invalid command in normal player


Emonizer08

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   2
  • Joined:  07/28/14
  • Last Seen:  

hello guys i want to ask how to make invalid command in normal player, let say i'm using gm right now and  i left @warp prontera 125 111 in my alt , then i change to normal account i have mistakenly use @warp 125 111 in public, so other's think i'm a gm because i know that command i want to make it invalid when i mistakenly type it.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

Don't use ALT... 

 

or use this script

-	script	Test	-1,{
OnAtCmd:
	if (getgmlevel() < 60 ) // if GM level is less than 60
		dispbottom "Invalid command.", 0xFF0000; // this happens
	end;
	
OnInit:
	bindatcmd "warp", strnpcinfo(0)+"::OnAtCmd"; // when player type @warp
}

@Emonizer08

Edited by pajodex
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

Just read group.conf, and add a 'false' for command use in group minor.

 

warp: [ true, false ]

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
Answer this question...

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