bearnope246 Posted July 5, 2016 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 [ "+@Morto$+" ] | "+@Tocar$,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( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "(AFK/Away)"; } else { .@state$ = "(Online)"; } } else { .@state$ = "(Offline)"; } return .@state$; } } But if i change this part of the script mes get_GM_Title( .@name$[.@i],.@group_id[.@i] )+" -^0011FF "+get_GM_State(.@aid[.@i],.@cid[.@i],.@name$[.@i] ); 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
0 bearnope246 Posted July 5, 2016 Author Posted July 5, 2016 try to change this mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map;0xE71Ac9; into mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xE71Ac9; 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "^FF0000(AFK/Away)^000000"; } else { .@state$ = "^FF0000(Online)^00000"; } } else { .@state$ = "^FF0000(Offline)^00000"; } return .@state$; } } 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
0 Neffletics Posted July 5, 2016 Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "^FF0000(AFK/Away)^000000"; } else { .@state$ = "^FF0000(Online)^00000"; } } else { .@state$ = "^FF0000(Offline)^00000"; } return .@state$; } } 3. Change FF0000 with the color you desire. OnInit: while(1) { waitingroom "PvP Normal [^FF0000"+getmapusers("guild_vs3")+"^000000]",0; sleep 100; delwaitingroom; } Quote
0 bearnope246 Posted July 5, 2016 Author Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "^FF0000(AFK/Away)^000000"; } else { .@state$ = "^FF0000(Online)^00000"; } } else { .@state$ = "^FF0000(Offline)^00000"; } return .@state$; } } 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
0 Neffletics Posted July 5, 2016 Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "^FF0000(AFK/Away)^000000"; } else { .@state$ = "^FF0000(Online)^00000"; } } else { .@state$ = "^FF0000(Offline)^00000"; } return .@state$; } } 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
0 bearnope246 Posted July 5, 2016 Author Posted July 5, 2016 1. Change FFFF00 with the color you desire. mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xFFFF00; 2. NPC Color. Replace FF0000 with the color you desire. if ( isloggedin( .@aid,.@cid ) ) { .@idle = checkidle( .@name$ ); if ( .@idle >= .afk_second && .afk_second ) { .@state$ = "^FF0000(AFK/Away)^000000"; } else { .@state$ = "^FF0000(Online)^00000"; } } else { .@state$ = "^FF0000(Offline)^00000"; } return .@state$; } } 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 [ "+@Morto$+" ] | "+@Tocar$,bc_map; to mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map;0xE71Ac9; and i got error. Parse_line: expect command, missing funtion name or calling undeclare funtion. Quote
0 blakbord Posted July 5, 2016 Posted July 5, 2016 try to change this mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map;0xE71Ac9; into mapannounce @map$,"The Player [ "+strcharinfo(0)+" ] killed [ "+@Morto$+" ] | "+@Tocar$,bc_map,0xE71Ac9; 1 Quote
Question
bearnope246
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.
This is the waiting room part, how can i change the color of the number only?
Edited by bearnope2466 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.