Jump to content
  • 0
Sign in to follow this  
Enko

@rickroll

Question

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!

Edited by Enko

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0

you dont really need a plugin for this, script can do it easy

 

-	script	rickroll_example	-1,{OnInit:	bindatcmd "rickroll",strnpcinfo(3)+"::OnAtcommand";	end;OnAtcommand:	mes "Never gonna give you up";	end;}

 

http://herc.ws/wiki/Bindatcmd

<3

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 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!

 

what is this purpose ?

i dont get?

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

Share this post


Link to post
Share on other sites
  • 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!

 

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 :D)

Share this post


Link to post
Share on other sites
  • 0

Try :

-	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;}
Edited by Patskie

Share this post


Link to post
Share on other sites
  • 0
- 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

Share this post


Link to post
Share on other sites
  • 0
Change : 
OnAtcommand:        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];        end; 

to :

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

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.