Jump to content
  • 0

Script that welcomes newly created character


Princess_anne

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  11/22/12
  • Last Seen:  

Can someone help me pls... 

 

i got this script from Emistry 

 

OnPCLoginEvent:
if(Class == Job_Novice && !BaseExp){
announce " "+strcharinfo(0)+" joined server.",0;
set BaseExp,1;
}
end;
}
 
but i dunnow how to use that :'( 
 
Thanks in Advance
Edited by Missingno
Codeboxed
Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

you can read here

http://rathena.org/wiki/Adding_a_Script

 

/no1

Edited by nostafu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

Don't forget to put the x,y location before that script that you have.

Edited by Ares
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  11/22/12
  • Last Seen:  

Thank u Nostafu & Ares... gonna try it now


it didnt work haha  /??  /??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   16
  • Joined:  12/19/13
  • Last Seen:  

Hi
It tries with this
 
if(Sex == 0)
announce "* Welcome Girl " +strcharinfo(0) + "It has begun his adventure.*",bc_all,0xFC99D1;
else
announce "* Welcome Boy " +strcharinfo(0) + "It has begun his adventure.*",bc_all,0x87CEFA;
 
 
Edited by Missingno
Codeboxed
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


- script WelcomeNewbie -1,{

OnPCLoginEvent:

if(Class == Job_Novice && !BaseExp) {

announce strcharinfo(0)+" joined the server!",0;

set BaseExp,1;

}

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

hi what if the login char can read that announcmeent instead of all map.. i min he/she can only read the welcome message

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

hi what if the login char can read that announcmeent instead of all map.. i min he/she can only read the welcome message

- announce strcharinfo(0)+" joined the server!",0;
+ announce strcharinfo(0)+" joined the server!",bc_self;
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

is this correct?

 

Welcome to ServerRO PlayerName!, Enjoy Playing!~

announce "Welcome to ServerRO "+strcharinfo(0)+"!, Enjoy Playing!~",bc_self;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Yup, should work properly

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

hi how to change this into 1 char per account?

-	script	WelcomeNewbie	-1,{

OnPCLoginEvent:
	if(Class == Job_Novice && !BaseExp) {
		announce "Welcome to ServerRO "+strcharinfo(0)+"!, Enjoy Playing!~",bc_self;
		set BaseExp,1;
	}
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  


- script WelcomeNewbie -1,{

OnPCLoginEvent:

if(Class == Job_Novice && !BaseExp && !#Welcome) {

announce "Welcome to ServerRO "+strcharinfo(0)+"!, Enjoy Playing!~",bc_self;

set BaseExp,1;

#Welcome = 1;

}

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  11/22/12
  • Last Seen:  

 

Hi
It tries with this
 
if(Sex == 0)
announce "* Welcome Girl " +strcharinfo(0) + "It has begun his adventure.*",bc_all,0xFC99D1;
else
announce "* Welcome Boy " +strcharinfo(0) + "It has begun his adventure.*",bc_all,0x87CEFA;
 
 
Good luck

www.egesiusro.com

 

 

Hi  Zikoziz! Should i make a new.txt? Thanks  /kis2

Edited by Missingno
Codeboxed
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   16
  • Joined:  12/19/13
  • Last Seen:  

Hi
Add it at the end of a training of novice, before entering to prontera.
I use it this way, give him importance to the advertisement

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  11/22/12
  • Last Seen:  

this script is working

 

OnPCLoginEvent:
if(Class == Job_Novice && !BaseExp) {
announce strcharinfo(0)+ "has joined server RO! Welcome to the server!",0;
set BaseExp,1;
}
end;
}
 
but my prob is... i wanna put some colors on that text.. i tried, but it didnt work lol... can someone help me again? 
 
BTW, thanks for responding :)  /lv  /lv  /lv
Edited by Missingno
Codeboxed
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Colors are in 0xRRGGBB format. If you don't know what you are doing then i suggest you search for a tool in the internet. There are too many tools sites for this.

- announce strcharinfo(0)+ "has joined server RO! Welcome to the server!",0;
+ announce strcharinfo(0)+ "has joined server RO! Welcome to the server!",0,0xFFFF00;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  281
  • Reputation:   14
  • Joined:  10/14/13
  • Last Seen:  

announce strcharinfo(0)+"has joined server RO! Welcome to the server!",0,0x00ff00;

try this one

Edited by Ares
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  11/22/12
  • Last Seen:  

Thank you!!!! it works  /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...