Jump to content
  • 0

How to edit if with this script?


Question

Posted

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

5 answers to this question

Recommended Posts

Posted

 

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

Posted (edited)

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
Posted
//--------------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. :(

Posted

 

 

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

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