Jump to content

Recommended Posts

Posted

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
Posted

replace the item checking part with this

if( Zeny < 100000 ){
   mes "You cant use.";
   close;
}

replace the item removing part with this

set Zeny - 1000000;

  • 2 weeks later...
  • 4 weeks later...
  • 1 month later...
Posted (edited)

@^rotestserver, you can use mine here.

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

set .@Price, 100000;
setarray .@Color$[0], "Red", "Green", "Blue";
setarray .@ColorCode$[0], "0xFF0000", "0x00FF00", "0x0000FF";

mes "[broadcaster]";
mes "Hello, ^0055ff" + strcharinfo(0) + "^000000.";
mes "Do you want to broadcast something? The price is " + .@Price + "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 < .@Price) {
mes "[broadcaster]";
mes "I don't think you have enough zeny.";
close;
}
mes "[broadcaster]";
mes "Now please pick a color:";
next;
for (set .@i, 0; .@i < getarraysize(.@Color$); set .@i, .@i + 1)
set .@Menu$, .@Menu$ + .@Color$[.@i] + ":";
set .@i,(select(.@Menu$) - 1);
mes "[broadcaster]";
mes "Please type your message now:";
next;
input .@Msg$;
mes "[broadcaster]";
mes "Alright, message is broadcasted now! Thank you.";
set Zeny, Zeny - .@Price;
announce strcharinfo(0) + ": " + .@Msg$, bc_all, .@ColorCode$[.@i];
close;
}

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

Edited by darristan
  • Upvote 1
Posted

@^rotestserver, you can use mine here.

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

set .@Price, 100000;
setarray .@Color$[0], "Red", "Green", "Blue";
setarray .@ColorCode$[0], "0xFF0000", "0x00FF00", "0x0000FF";

mes "[broadcaster]";
mes "Hello, ^0055ff" + strcharinfo(0) + "^000000.";
mes "Do you want to broadcast something? The price is " + .@Price + "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 < .@Price) {
mes "[broadcaster]";
mes "I don't think you have enough zeny.";
close;
}
mes "[broadcaster]";
mes "Now please pick a color:";
next;
for (set .@i, 0; .@i < getarraysize(.@Color$); set .@i, .@i + 1)
set .@Menu$, .@Menu$ + .@Color$[.@i] + ":";
set .@i,(select(.@Menu$) - 1);
mes "[broadcaster]";
mes "Please type your message now:";
next;
input .@Msg$;
mes "[broadcaster]";
mes "Alright, message is broadcasted now! Thank you.";
set Zeny, Zeny - .@Price;
announce strcharinfo(0) + ": " + .@Msg$, bc_all, .@ColorCode$[.@i];
close;
}

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

Thank you sir darristan!

  • 3 months later...
  • 5 months later...
Posted



//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)+": "+@mensagem$+" ",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)+": "+@mensagem4$+" ",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)+": "+@mensagem5$+" ",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)+": "+@mensagem5$+" ",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

  • 3 months later...
Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...