Jump to content
  • 0

Help. gm security password


Question

Posted (edited)

- script security -1{

OnPcLoginEvent:

if(!getgmlevel() >= 21 ){

mes "You are a GM/Admin we need to verify if you are a real gm or admin";

mes "you need to input the correct password";

mes "or else i will kick you";

next;

input .@pwd$;

if(.@pwd$!="fckingpassword")

{

mes "You input a wrong password";

atcommand strcharinfo(0)+ "@kick "+strcharinfo(0)+"";

close;

}

else

{

mes "You input a correct password";

close;

}

}

how to make it also GM can use command everytime this message pop out?

Edited by bVersatile

8 answers to this question

Recommended Posts

Posted (edited)

.@warp @goto @go @jumpto like that.

what is the wrong here Emistry?

i need that the gm above 30 will get this message :(

- script security -1,{

OnPcLoginEvent:

if(getgmlevel() 30){

warp "ama_test",0,0;

sleep2 5000;

mes "You are a GM/Admin we need to verify if you are a real gm or admin";

mes "you need to input the correct password";

mes "or else i will kick you";

next;

input .@pwd$;

if(.@pwd$!="jerkisafucker")

{

mes "You input a wrong password";

atcommand "@kick "+strcharinfo(0)+"";

close;

}

else

{

mes "You input a correct password";

warp "louyang",217,90;

dispbottom "Thank you for your cooperation!";

}

close;

}

}

Edited by bVersatile
Posted

did you added some mapflag like this somewhere in your other script ?

mapname    mapflag    nowarp
mapname    mapflag    nogo
mapname    mapflag    nocommand
etc....

if yes then remove it

Posted

did you added some mapflag like this somewhere in your other script ?

mapname	mapflag	nowarp
mapname	mapflag	nogo
mapname	mapflag	nocommand
etc....

if yes then remove it

its okay now!

but i have a 1 request how to make it only lvl 30 above will see this message?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...