bearnope246 Posted July 5, 2016 Share Posted July 5, 2016 (edited) i have 3 question. 1. How to use more color in an announce? This is a narrator script, i want to have the killer name and the death player have different color. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map; 2. This is a GMsupport script. I try to change the (online), (offline) color, but it only appear for awhile, and after relog its back to normal. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "(AFK/Away)"; } else { [email protected]$ = "(Online)"; } } else { [email protected]$ = "(Offline)"; } return [email protected]$; } } But if i change this part of the script mes get_GM_Title( [email protected]$[[email protected]],[email protected]_id[[email protected]] )+" -^0011FF "+get_GM_State([email protected][[email protected]],[email protected][[email protected]],[email protected]$[[email protected]] ); The color changed, but all the state are same color, i want it to be diferent color. 3.This is a pvp warper script. OnInit: while(1) { waitingroom "PvP Normal ["+getmapusers("guild_vs3")+"]",0; sleep 100; delwaitingroom; } This is the waiting room part, how can i change the color of the number only? "+getmapusers("guild_vs3")+" Edited July 5, 2016 by bearnope246 Quote Link to comment Share on other sites More sharing options...
0 bearnope246 Posted July 5, 2016 Author Share Posted July 5, 2016 try to change this mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map;0xE71Ac9; into mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xE71Ac9; 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "^FF0000(AFK/Away)^000000"; } else { [email protected]$ = "^FF0000(Online)^00000"; } } else { [email protected]$ = "^FF0000(Offline)^00000"; } return [email protected]$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. RE: Sorry but i want 2 color for 2 names in the announce, is it possible? Nope, it's not possible. You can only pick 1 color for announcements. RE: but it show up on the room title: ^0011FF<number>^000000. Ah! It won't work if it's in a chatroom (waiting room). It'll only work on NPC Messages. Thanks guys ^^ solved Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted July 5, 2016 Share Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "^FF0000(AFK/Away)^000000"; } else { [email protected]$ = "^FF0000(Online)^00000"; } } else { [email protected]$ = "^FF0000(Offline)^00000"; } return [email protected]$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Quote Link to comment Share on other sites More sharing options...
0 bearnope246 Posted July 5, 2016 Author Share Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "^FF0000(AFK/Away)^000000"; } else { [email protected]$ = "^FF0000(Online)^00000"; } } else { [email protected]$ = "^FF0000(Offline)^00000"; } return [email protected]$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted July 5, 2016 Share Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "^FF0000(AFK/Away)^000000"; } else { [email protected]$ = "^FF0000(Online)^00000"; } } else { [email protected]$ = "^FF0000(Offline)^00000"; } return [email protected]$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. RE: Sorry but i want 2 color for 2 names in the announce, is it possible? Nope, it's not possible. You can only pick 1 color for announcements. RE: but it show up on the room title: ^0011FF<number>^000000. Ah! It won't work if it's in a chatroom (waiting room). It'll only work on NPC Messages. Quote Link to comment Share on other sites More sharing options...
0 bearnope246 Posted July 5, 2016 Author Share Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( [email protected],[email protected] ) ) { [email protected] = checkidle( [email protected]$ ); if ( [email protected] >= .afk_second && .afk_second ) { [email protected]$ = "^FF0000(AFK/Away)^000000"; } else { [email protected]$ = "^FF0000(Online)^00000"; } } else { [email protected]$ = "^FF0000(Offline)^00000"; } return [email protected]$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Number 2 worked, thanks, i try that before but it doesnt work, now it does. Number 1: Sorry but i want 2 color for 2 names in the announce, is it possible? Like this. ....The Player player1 killed player2..... number 3: i type waitingroom "PvP Normal [^0011FF"+getmapusers("guild_vs3")+"^000000]",0; but it show up on the room title: ^0011FF<number>^000000. RE: Sorry but i want 2 color for 2 names in the announce, is it possible? Nope, it's not possible. You can only pick 1 color for announcements. RE: but it show up on the room title: ^0011FF<number>^000000. Ah! It won't work if it's in a chatroom (waiting room). It'll only work on NPC Messages. oh ok. thanks Back to number1. I change the code from mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map; to mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map;0xE71Ac9; and i got error. Parse_line: expect command, missing funtion name or calling undeclare funtion. Quote Link to comment Share on other sites More sharing options...
0 blakbord Posted July 5, 2016 Share Posted July 5, 2016 try to change this mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map;0xE71Ac9; into mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "[email protected]$+" ] | "[email protected]$,bc_map,0xE71Ac9; 1 Quote Link to comment Share on other sites More sharing options...
i have 3 question.
1. How to use more color in an announce?
This is a narrator script, i want to have the killer name and the death player have different color.
2. This is a GMsupport script.
I try to change the (online), (offline) color, but it only appear for awhile, and after relog its back to normal.
But if i change this part of the script
The color changed, but all the state are same color, i want it to be diferent color.
3.This is a pvp warper script.
OnInit: while(1) { waitingroom "PvP Normal ["+getmapusers("guild_vs3")+"]",0; sleep 100; delwaitingroom; }This is the waiting room part, how can i change the color of the number only?
"+getmapusers("guild_vs3")+"Edited by bearnope246Link to comment
Share on other sites