Author Topic: Color Nick Completer  (Read 4460 times)

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1818
    • IceChat IRC Client
Color Nick Completer
« on: May 11, 2004, 06:05:39 PM »
This uses the Scripting NICKCOMPLETE

Function
Place this into a current Script File, or put it in a new one.
This will use random colors for the nick

completer.

Unload the Script File if you wish to turn this off.


Code: [Select]
Function NickComplete(nick)
NickAddTextBegin = "<--"
NickAddTextEnd = "-->"

MyColors = Array(1,2,3,4,5,6,7,9,10,12,13,14,16,17,18,19,20,21,22,23,24)

Randomize
MyColor = MyColors(Int((UBound(MyColors) * Rnd) + 0))
Randomize
MyNickColor = MyColors(Int((UBound(MyColors) * Rnd) + 0))
NewNick = "" & MyColor & NickAddTextBegin & " " & MyNickColor & Nick & " " & MyColor & NickAddTextEnd & ""

NickComplete = NewNick

End Function
« Last Edit: August 03, 2005, 07:39:37 AM by Snerf »
The IceChat God