Jump to content
  • 0

Annouce with bottom


Phantom Of Rogue-Gon

Question


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

lets say i use mega phone for annouce ETC i change to announce

 

like this

 

post-19600-0-92840200-1378724755_thumb.jpg

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

frontier,185,131,5	script	Broadcaster	114,{
	//what's the npc name to show in messages?
		set @npcname$, "Broadcaster";
	//NPC Headers Name:
		set @header$,"[^0000ff" + @npcname$ + "^000000]";
	//NPC COST PER Broadcast:
		set @broadcastfee, 10000000;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
		mes @header$;
		mes "Hi, I'm the Broadcaster";
		mes "I can Broadcast a message for you";
		next;
		mes @header$;
		mes "It costs ^ff0000"+ @broadcastfee +"^000000 zeny ";
	next;
	mes @header$;
	mes "Would you like to Broadcast?";
	switch (select("-yes","-No")){
		case 1:
				if(@Broadcast> gettimetick(2)) {
				next;
				mes @header$;
				mes "Sorry you have to wait for 3min.";
				close;
				}
			next;
			mes @header$;
			if(Zeny<1000000) goto $nozenybc;
			set Zeny,zeny - @broadcastfee;
			mes "Please input your message.";
			next;
			input @broadcast$;
			announce "Message from "+strcharinfo(0)+": "+@broadcast$+"",0,0xB1FB17;
			close2;
			set @Broadcast, gettimetick(2)+180;
			dispbottom "Broadcaster: Please wait for 3min until next broadcast to avoid flooding.";
			end;
		case 2:
			mes "Suit yourself";
			close;
	}
$nozenybc:
	mes "I have to check that you have";
	mes "enough money";
	next;
	mes @header$;
	mes "Im sorry but you dont have ^ff0000"+@broadcastfee+"^000000 zeny";
	mes "Go get it if you want to Broadcast";
	close;
}

how can change the broadcast like this

15s8yvo.jpg

broadcast to botton

Edited by Emistry
topic merged.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   18
  • Joined:  01/02/12
  • Last Seen:  

frontier,185,131,5	script	Broadcaster	114,{
	//what's the npc name to show in messages?
		set @npcname$, "Broadcaster";
	//NPC Headers Name:
		set @header$,"[^0000ff" + @npcname$ + "^000000]";
	//NPC COST PER Broadcast:
		set @broadcastfee, 10000000;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
		mes @header$;
		mes "Hi, I'm the Broadcaster";
		mes "I can Broadcast a message for you";
		next;
		mes @header$;
		mes "It costs ^ff0000"+ @broadcastfee +"^000000 zeny ";
	next;
	mes @header$;
	mes "Would you like to Broadcast?";
	switch (select("-yes","-No")){
		case 1:
				if(@Broadcast> gettimetick(2)) {
				next;
				mes @header$;
				mes "Sorry you have to wait for 3min.";
				close;
				}
			next;
			mes @header$;
			if(Zeny<1000000) goto $nozenybc;
			set Zeny,zeny - @broadcastfee;
			mes "Please input your message.";
			next;
			input @broadcast$;
			announce "Message from "+strcharinfo(0)+": "+@broadcast$+"",0,0xB1FB17;
			close2;
			set @Broadcast, gettimetick(2)+180;
			dispbottom "Broadcaster: Please wait for 3min until next broadcast to avoid flooding.";
			end;
		case 2:
			mes "Suit yourself";
			close;
	}
$nozenybc:
	mes "I have to check that you have";
	mes "enough money";
	next;
	mes @header$;
	mes "Im sorry but you dont have ^ff0000"+@broadcastfee+"^000000 zeny";
	mes "Go get it if you want to Broadcast";
	close;
}

how can change the broadcast like this

15s8yvo.jpg

broadcast to botton

find 

announce "Message from "+strcharinfo(0)+": "+@broadcast$+"",0,0xB1FB17;

change to 

dispbottom "Message from "+strcharinfo(0)+": "+@broadcast$+"",0,0x9327e5;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

error



like broascast msg change to Broadcast to Dispbottom only

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   18
  • Joined:  01/02/12
  • Last Seen:  

try this 

dispbottom ""+strcharinfo(0)+": "+@broadcast$+"";

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2351
  • Joined:  10/28/11
  • Last Seen:  

it should be

globalmes strcharinfo(0)+": "+@broadcast$;

but still there is no way for you since you're using eathena ...

 

only *Amod / rathena / hercules have IRC system

 

even the IRC Channel Script i have...wont work for eathena..

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2351
  • Joined:  10/28/11
  • Last Seen:  

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