@rickroll

Enko

New member
Messages
79
Points
0
Hello there,

I really need this command for my new ro server, i come from DOTA and i really loved this command.

how should it work? when an user types "@rickroll" a random phrase will show up like @me does.

Username's Never gonna give you up
Username's Never gonna let you down
Username's Never gonna run around and desert you
Username's Never gonna make you cry
Username's Never gonna say goodbye
Username's Never gonna tell a lie and hurt you

Thanks!

 
Last edited by a moderator:
And if you want it to sound in your server, use the soundeffect script command.

P.S.: SERIOUSLY? LoL

 
Last edited by a moderator:
Thank you very much for you help. But i have 2 questions, if you let me ask....

How can I do it for random messages?

How can I do it if it were a @me command? I mean, with the same effect using * in the beginning and the ending.

 
Hello there,

I really need this command for my new ro server, i come from DOTA and i really loved this command.

how should it work? when an user types "@rickroll" a random phrase will show up like @me does.

Username's Never gonna give you up

Username's Never gonna let you down

Username's Never gonna run around and desert you

Username's Never gonna make you cry

Username's Never gonna say goodbye

Username's Never gonna tell a lie and hurt you

Thanks!
what is this purpose ?

i dont get?

for me its nothing. hmm. since only we can see the msg. hehe

 
Hello there,

I really need this command for my new ro server, i come from DOTA and i really loved this command.

how should it work? when an user types "@rickroll" a random phrase will show up like @me does.

Username's Never gonna give you up

Username's Never gonna let you down

Username's Never gonna run around and desert you

Username's Never gonna make you cry

Username's Never gonna say goodbye

Username's Never gonna tell a lie and hurt you

Thanks!
Like this?

- script atcmd_rickroll -1,{OnInit: bindatcmd "rickroll",strnpcinfo(3)+"::OnAtcommand"; end;OnAtcommand: set .@msg,rand(1,6); if (.@msg == 1) atcommand "@me Never gonna give you up"; if (.@msg == 2) atcommand "@me Never gonna let you down"; if (.@msg == 3) atcommand "@me Never gonna run around and desert you"; if (.@msg == 4) atcommand "@me Never gonna make you cry"; if (.@msg == 5) atcommand "@me Never gonna say goodbye"; if (.@msg == 6) atcommand "@me Never gonna tell a lie and hurt you"; end;}

PS: Since this is applicable in script I will be moving this in script section. (Peace
default_biggrin.png
)

 
Last edited by a moderator:
I could swear I made this script and already replied to the topic the day Enko bumped it O.o

 
Try :

Code:
-	script	rickroll	-1,{	OnInit:		setarray .Messages$[0],					"Never gonna give you up",					"Never gonna let you down",					"Never gonna run around and desert you",					"Never gonna make you cry",					"Never gonna say goodbye",					"Never gonna tell a lie and hurt you";								bindatcmd "rickroll",strnpcinfo(3)+"::OnAtcommand";		end;			OnAtcommand:		atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];		end;}
 
Last edited by a moderator:
- script rickroll -1,{
    OnInit:
        setarray .Messages$[0],
                    "Never gonna give you up",
                    "Never gonna let you down",
                    "Never gonna run around and desert you",
                    "Never gonna make you cry",
                    "Never gonna say goodbye",
                    "Never gonna tell a lie and hurt you";
                     
        bindatcmd "rickroll",strnpcinfo(3)+"::OnAtcommand";
        end;
     
    OnAtcommand:
        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];
        end;
}
 
how to add delay??? like every 10 Seconds
 
Change : 

OnAtcommand:        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];        end; 
to :

Code:
OnAtcommand:		if ( gettimetick(2) < #timer ) end;        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];		#timer = gettimetick(2) + 10;        end;

 
Back
Top