Skip to content
Kenobi help

Question for Ozzy

A TG007 community discussion started by Alias.

Discussion 21 posts
Page 1 of 2
Open
Topic #3801 · 21 published posts · 2,377 views

Hi,

i have tested the code for bright font u've posted in addons section :

on *:text:*:#:{ 
if ($asc($mid($1,3,1)) isin 56 57 49) { 
  inc -u20 %bcolor. [ $+ [ $nick ] ] 
  if (%bcolor. [ $+ [ $nick ] ] > 1) { kick # $nick I warned you,now please change your colour }
  else { msg # $nick $+ , change to a normal colour please not yellow,light green or light blue }
} 

 

but it doesn't work, in the post u said it's an old code, is there something i have to modify to make it work now ? i'm on groups not on chat

 

Thank you

Edited Jun 13, 2005 10:03 PM by Alias

I would have to test it , but am a bit busy at the minute

My code does NOT have bugs. It just develops random features.

here you go

on *:text:*:#:{ 
 if ($asc($mid($1,3,1)) isin 56 57 49) 
 inc -u20 %bcolor. [ $+ [ $nick ] ] 
 if (%bcolor. [ $+ [ $nick ] ] > 1) { kick # $nick I warned you,now please change your colour }
 else { msg # $nick $+ , change to a normal colour please not yellow,light green or light blue }
}

Hi Korupt,

there is something wrong, i've just tested ur code, someone was using black font, it kicked him

thats cause hes posted the same code

My code does NOT have bugs. It just develops random features.

in fact, it seems to warn for most of fonts, i'm still trying it

it had a extra bracket in the code
Edited Jun 13, 2005 10:54 PM by K0rupt

No idea how to fix it ?

Remove the extra bracket

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

i pasted the code from k0rupt and clicked on bracket button in mIRC, it doesn't say anything about extra brackets

Does the var %bcolor need to equal something? Like a colour or something?

Get the Tech outta here!

well it was a question for me , but everyone else seams to be having a go , anyway when ya want the correct ocde give me a shout

and yes veg your on the rite lines

My code does NOT have bugs. It just develops random features.

hi ozzy, the question is still for you as it was your code

i prefer to get the correct code

it's the reason why i choosed this title

Edited Jun 15, 2005 1:17 AM by Alias

this code does not work if you do not allow "show users colors" but since most of users have their own theme, is not there anyway to have complete addon to do this job?

well it was a question for me , but everyone else seams to be having a go , anyway when ya want the correct ocde give me a shout

and yes veg your on the rite lines

Hi ozzy, as u said, i'm giving you a shout and asking you again for the correct code

Edited Jun 15, 2005 10:39 PM by Alias

as allready stated the code will only work if you have show users own colours ticked , but then that will stop other code in your script

My code does NOT have bugs. It just develops random features.

it will stop all codes in the script or just code about font ?

i have just tested it with "show users own colours" ticked

it still warn to all colors fonts

it stops a lot of other things working

none of the remote commands will work , like @admin etc

 

My code does NOT have bugs. It just develops random features.