Ragnar Lothbrok Posted June 28, 2012 Posted June 28, 2012 how can i make the pub message move?? can you make me script please.... thanks Quote
Brian Posted June 28, 2012 Posted June 28, 2012 (edited) It should be possible with a script: display message using waitingroom (ex: "Hello World ... ") sleep a short time (250 ms?) rotate the string 1 character left ("ello World ... H") delwaitingroom and display the new message, goto #2 and repeat prontera,155,188,0 script test 910,{ end; OnInit: set .message$, "Hello World! "; while (1) { set .message$, delchar(.message$+charat(.message$,0),0); delwaitingroom; waitingroom .message$, 0; sleep 200; } } Edited June 28, 2012 by Brian 1 Quote
Ragnar Lothbrok Posted June 28, 2012 Author Posted June 28, 2012 i dont know if modification or just in script, im requesting a script if this is possible... Quote
Yanji Posted June 28, 2012 Posted June 28, 2012 What Brian said, but be careful because if you do it in announcement messages, you would spam people's chatboxes xD Quote
Ragnar Lothbrok Posted June 28, 2012 Author Posted June 28, 2012 error.. * 8 : set .message$, delchar'('.message$+charat(.message$,0), 0); Quote
Brian Posted June 28, 2012 Posted June 28, 2012 Are you not using rAthena? We added delchar and charat 7 months ago in r15039. Quote
Ragnar Lothbrok Posted June 28, 2012 Author Posted June 28, 2012 oops sorry... im using eamod... can you please make it? Quote
Ragnar Lothbrok Posted June 28, 2012 Author Posted June 28, 2012 Sir Brian, how to make it that work ing eamod? Quote
Emistry Posted June 29, 2012 Posted June 29, 2012 @TS you can try like this if you want. http://upaste.me/f37f56768e1b73f Quote
Ragnar Lothbrok Posted June 29, 2012 Author Posted June 29, 2012 @Emistry thank you so much sir.... i also want to try sir brian script, can you fix it sir? please im using eamod.... prontera,155,188,0 script test 910,{ end; OnInit: set .message$, "Hello World! "; while (1) { set .message$, delchar(.message$+charat(.message$,0),0); delwaitingroom; waitingroom .message$, 0; sleep 200; } } Quote
Emistry Posted June 29, 2012 Posted June 29, 2012 Are you not using rAthena? We added delchar and charat 7 months ago in r15039. apply the diff at your own risk.. i am not a eAmod users..i dunno how it work to edit on eAmod Quote
Ragnar Lothbrok Posted June 29, 2012 Author Posted June 29, 2012 oh isee...thanks... anyway what if i want to put space on each letter like S"space"A"" M"" P"" L"" E??? Quote
Mystery Posted June 29, 2012 Posted June 29, 2012 @arnie, Why don't you just switch to rAthena? eAmod is a rip off. 1 Quote
Emistry Posted June 29, 2012 Posted June 29, 2012 oh isee...thanks... anyway what if i want to put space on each letter like S"space"A"" M"" P"" L"" E??? change here .... setarray .Name$,"S"," ","A"," ","M"," ","P"," ","L"," ","E"; or... set .Display$,.Display$ +" "+ .Name$[.i]; Quote
deathscythe13 Posted July 1, 2012 Posted July 1, 2012 prontera,155,188,0 script test 910,{ end; OnInit: setarray .message$, "H","E","L","L","O"," ","W","O","R","L","D"; while(1) { delwaitingroom; for(set .@i , 0; .@i < getarraysize(.message$) ; set .@i, .@i+1) { set .word$, .word$+.message$[.@i]; } set .@temp$ , .message$[getarraysize(.message$)-1]; for(set .@i , (getarraysize(.message$)-1); .@i > 0 ; set .@i, .@i-1) { set .message$[.@i] , .message$[.@i-1]; } set .message$[.@i] , .@temp$; waitingroom .word$,0; set .word$, ""; sleep 200; } } Quote
Ragnar Lothbrok Posted July 1, 2012 Author Posted July 1, 2012 (edited) Is this Script can effect LAG on the server??? Edited July 1, 2012 by arnie2302 Quote
Euphy Posted July 1, 2012 Posted July 1, 2012 You won't notice anything, but yes, the longer your code and the shorter your "sleep" time, the more resources this will eat up. It's a complete waste imo, but it's your decision in the end. 1 Quote
rhennaldrin Posted May 10, 2013 Posted May 10, 2013 how to make moving to right? help please its only to the left Quote
Question
Ragnar Lothbrok
how can i make the pub message move??
can you make me script please....
thanks
20 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.