Jump to content
  • 0

How to edit if with this script?


Yugosh

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

hello guys,

i need some helps , how to edit if this scripts.

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
	if (getgmlevel() == 0) goto OnPCLoginEvent;
	OnPCLoginEvent:
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	close;
}

i mean is

if gm = 99 not go to OnPCLoginEvent *or not do anything just skip GM id

then player go to OnPCLoginEvent

 

sorry my bad english

thanks

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

 

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-    script    login    -1,{
    if (getgmlevel() == 99){ end; }
    OnPCLoginEvent:
    announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
    close;
}

Please have a check if this works.

 

 

Thanks for your relpy / help

but its no work have u another ?

 

 

Try this:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
	if (getgmlevel() >= 99){
	close;
	}
	else {
	OnPCLoginEvent:
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	close;
}
} 

 

Thanks for reply / help

but its also no work have u another too?

 

if GM Level 99 not announce but if player it will announce the script.

thanks who can help it. :(

 

 

Here, tested and working:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
OnPCLoginEvent:
	if (getgmlevel() < 98) {
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	} else {
	close;
	}
} 
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-    script    login    -1,{
    if (getgmlevel() == 99){ end; }
    OnPCLoginEvent:
    announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
    close;
}

Please have a check if this works.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

Try this:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
	if (getgmlevel() >= 99){
	close;
	}
	else {
	OnPCLoginEvent:
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	close;
}
} 
Edited by Mary Magdalene
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-    script    login    -1,{
    if (getgmlevel() == 99){ end; }
    OnPCLoginEvent:
    announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
    close;
}

Please have a check if this works.

 

 

Thanks for your relpy / help

but its no work have u another ?

 

 

Try this:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
	if (getgmlevel() >= 99){
	close;
	}
	else {
	OnPCLoginEvent:
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	close;
}
} 

 

Thanks for reply / help

but its also no work have u another too?

 

if GM Level 99 not announce but if player it will announce the script.

thanks who can help it. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/09/12
  • Last Seen:  

 

 

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-    script    login    -1,{
    if (getgmlevel() == 99){ end; }
    OnPCLoginEvent:
    announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
    close;
}

Please have a check if this works.

 

 

Thanks for your relpy / help

but its no work have u another ?

 

 

Try this:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
	if (getgmlevel() >= 99){
	close;
	}
	else {
	OnPCLoginEvent:
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	close;
}
} 

 

Thanks for reply / help

but its also no work have u another too?

 

if GM Level 99 not announce but if player it will announce the script.

thanks who can help it. :(

 

 

Here, tested and working:

//--------------Script by : Akbar'e---------------------
//---------------http://forum.akbare.com----------------
// Thanks to
// ROCREW
//=======================================================


-	script	login	-1,{
OnPCLoginEvent:
	if (getgmlevel() < 98) {
	announce "Welcome , [ "+strcharinfo(0)+" ] | Play get u'r Friends and Love.",bc_yellow|bc_all;
	} else {
	close;
	}
} 

 

Thanks it works now.

+1 and Solved mark /no1

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