Yugosh Posted September 9, 2015 Posted September 9, 2015 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 Quote
Scylla Posted September 11, 2015 Posted September 11, 2015 //--------------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; } } 1 Quote
PandaLovesHamster Posted September 9, 2015 Posted September 9, 2015 //--------------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. Quote
Scylla Posted September 9, 2015 Posted September 9, 2015 (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 September 9, 2015 by Mary Magdalene Quote
Yugosh Posted September 10, 2015 Author Posted September 10, 2015 //--------------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. Quote
Yugosh Posted September 11, 2015 Author Posted September 11, 2015 //--------------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 Quote
Question
Yugosh
hello guys,
i need some helps , how to edit if this scripts.
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.