English Rainbow Welcome

4 replies
Goto Page
To the start Previous 1 Next To the start
21.08.13 11:11:50 am
Up
Junior3534
User
Offline Off
addhook("join","welcome")
function welcome(id)
msg2(id,"©255000000W©255127000e©255255000l©000255000c©000000255o©075000130m©143000255e")
end



> Can This work? im a newbie scripter
> Help me please because i got everytime some á or Á

Thanks!!!
IMG:http://s16.postimg.org/c0jfl2e7l/Woody.png
21.08.13 11:16:27 am
Up
PyKemis
User
Offline Off
Instead of ©, use \169 or "..string.char(169).."

Code:
msg2(id,"\169255000000W\169255127000e\169255255000l\169000255000c\169000000255o\169075000130m\169143000255e")


On a completely unrelated note: Guess what kinda of servers I hate? Servers that use unnecessary random colors for chat.
21.08.13 11:32:40 am
Up
Junior3534
User
Offline Off
@user PyKemis: Anyways i find somethink ... now its good and works
IMG:http://s16.postimg.org/c0jfl2e7l/Woody.png
21.08.13 11:44:56 am
Up
Avo
User
Offline Off
I edited a little rainbowtext function from file cs2d [EngiN33R] Showcase for 0.1.2.2 (11) and here you are, you have to paste following code in your script:
More >


And then you will be able to use it this way:

Code:
1
2
3
4
addhook("join","welcome")
function welcome(id)          
     msg2(id,rainbowtext("Welcome!"))
end


Easier, isn't it? By the way user PyKemis is right, many colors in messages make server an awful pony place to play
21.08.13 11:49:12 am
Up
Junior3534
User
Offline Off
Ok... I finded an trick/some sh*t(sorry) now its fixed and good... Thanks
IMG:http://s16.postimg.org/c0jfl2e7l/Woody.png
To the start Previous 1 Next To the start