Jump to content
Hades03

Broadcaster

Recommended Posts

Hello rathena member this is my broadcaster script

Features:

With 8 Color

Red, Black, Blue, Green, Purple, Pink, Gray, Orange.

you can set the payment here

set @payitem,671;

set @payamt,1;

100+ Downloads and no comment and no report omg :D

No Bug!!!

Wew 278 Downloads But still no reprot wew nice script /gg

Still no bug?

broadcaster.txt

  • Upvote 2
Link to comment
Share on other sites

@^rotestserver, you can use mine here.

// http://rathena.org/board/topic/66794-broadcaster/#entry148563
prontera,147,172,5 script Broadcast Agent 57,{

set [email protected], 100000;
setarray [email protected]$[0], "Red", "Green", "Blue";
setarray [email protected]$[0], "0xFF0000", "0x00FF00", "0x0000FF";

mes "[broadcaster]";
mes "Hello, ^0055ff" + strcharinfo(0) + "^000000.";
mes "Do you want to broadcast something? The price is " + [email protected] + "z.";
next;
if (select("Yes:No") == 2) {
mes "[broadcaster]";
mes "Oh that's a bummmer.";
mes "Feel free to talk to me again.";
close;
}
if (Zeny < [email protected]) {
mes "[broadcaster]";
mes "I don't think you have enough zeny.";
close;
}
mes "[broadcaster]";
mes "Now please pick a color:";
next;
for (set [email protected], 0; [email protected] < getarraysize([email protected]$); set [email protected], [email protected] + 1)
set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + ":";
set [email protected],(select([email protected]$) - 1);
mes "[broadcaster]";
mes "Please type your message now:";
next;
input [email protected]$;
mes "[broadcaster]";
mes "Alright, message is broadcasted now! Thank you.";
set Zeny, Zeny - [email protected];
announce strcharinfo(0) + ": " + [email protected]$, bc_all, [email protected]$[[email protected]];
close;
}

Edit: Here is link for proper tabbed ver: http://www.heypasteit.com/clip/0JE5

Edited by darristan
  • Upvote 1
Link to comment
Share on other sites

@^rotestserver, you can use mine here.

// http://rathena.org/board/topic/66794-broadcaster/#entry148563
prontera,147,172,5 script Broadcast Agent 57,{

set [email protected], 100000;
setarray [email protected]$[0], "Red", "Green", "Blue";
setarray [email protected]$[0], "0xFF0000", "0x00FF00", "0x0000FF";

mes "[broadcaster]";
mes "Hello, ^0055ff" + strcharinfo(0) + "^000000.";
mes "Do you want to broadcast something? The price is " + [email protected] + "z.";
next;
if (select("Yes:No") == 2) {
mes "[broadcaster]";
mes "Oh that's a bummmer.";
mes "Feel free to talk to me again.";
close;
}
if (Zeny < [email protected]) {
mes "[broadcaster]";
mes "I don't think you have enough zeny.";
close;
}
mes "[broadcaster]";
mes "Now please pick a color:";
next;
for (set [email protected], 0; [email protected] < getarraysize([email protected]$); set [email protected], [email protected] + 1)
set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + ":";
set [email protected],(select([email protected]$) - 1);
mes "[broadcaster]";
mes "Please type your message now:";
next;
input [email protected]$;
mes "[broadcaster]";
mes "Alright, message is broadcasted now! Thank you.";
set Zeny, Zeny - [email protected];
announce strcharinfo(0) + ": " + [email protected]$, bc_all, [email protected]$[[email protected]];
close;
}

Edit: Here is link for proper tabbed ver: http://www.heypasteit.com/clip/0JE5

Thank you sir darristan!

Link to comment
Share on other sites

Is it possible to add a code to set a limit to how many times you broadcast a day? and if so can someone help add the code to it?

For example every player can do a maximum of 3 broadcasts a day

Appreciate it!

Link to comment
Share on other sites


//Jam "Merme"
//=======================================================================================
//=======================================================================================
//=======================================================================================
//Annoucer/broadcaster   (in color)
//=======================================================================================
//=======================================================================================
//=======================================================================================
prontera,145,164,6    script    Broadcaster    415,{


if (.AnnounceDelay > gettimetick(2)) {
    mes "You must wait 2 minutes between announcements.";
    close;
}

mes "[ ^FE021BMerme^000000 ]";
mes "Hello, ^F509DE"+strcharinfo(0)+"^000000";
mes "Do you want to broadcast something?.";
next;
mes "[ ^FE021BMerme^000000 ]";
mes "We Have Color Please choose!";
next;
menu "Red",red, "Green",green, "Purple",purple, "Orange",orange, "Cancel",-; 
mes "im Sorry if u want to say something just let me know.";
close;

red:
mes "[ ^FE021BMerme^000000 ]";
mes "Type your message and it will be heard miles away";
input @mensagem$;
announce ""+strcharinfo(0)+": "[email protected]$+" ",bc,0xD20000;
set .AnnounceDelay, gettimetick(2) + 120;
close;



green:
mes "[ ^FE021BMerme^000000 ]";
mes "Type your message and it will be heard miles away";
input @mensagem4$;
announce ""+strcharinfo(O)+": "[email protected]$+" ",bc,0x33FF33;
set .AnnounceDelay, gettimetick(2) + 120;
close;

purple:
mes "[ ^FE021BMerme^000000 ]";
mes "Type your message and it will be heard miles away";
input @mensagem5$;
announce ""+strcharinfo(O)+": "[email protected]$+" ",bc,0xCC00FF;
set .AnnounceDelay, gettimetick(2) + 120;
close;


orange:
mes "[ ^FE021BMerme^000000 ]";
mes "Type your message and it will be heard miles away";
input @mensagem5$;
announce ""+strcharinfo(O)+": "[email protected]$+" ",bc,0xFF9900;
set .AnnounceDelay, gettimetick(2) + 120;
close;

no:
next;
mes "[ ^FE021BMerme^000000 ]";
mes "Oh that's a bummmer.";
mes "Come back when you need me. ^_^";
close;

exit2:
mes "[ ^FE021BMerme^000000 ]";
mes "Sorry you don't have enough coins to make the broadcast.";
mes "Please come again.";
close;

end;
}

 

Is it possible to add a code to set a limit to how many times you broadcast a day? and if so can someone help add the code to it?

For example every player can do a maximum of 3 broadcasts a day

Appreciate it!

 

 

i don't know how to config that. . 

but try this one. .

2min every annouce. .  to anti spam :D

Link to comment
Share on other sites

Ey Jam can you please write what is the exactly "check" part and the "remove part" of your code?

because i got an error replacing the "delitem @..." in all the colors.

 

thanks.

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
Reply to this topic...

×   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...

Important Information

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