Tcl mode

  if {[regexp -- {^[^\s]+\s(.+?)\s(.+?)\s(.+?)\s\*\s\:(.+)$} $text wholematch nick ident host realname]} {
 
1
##############################################################################################
2
##  ##     whois.tcl for eggdrop by Ford_Lawnmower irc.geekshed.net #Script-Help        ##  ##
3
##############################################################################################
4
## To use this script you must set channel flag +whois (ie .chanset #chan +whois)           ##
5
##############################################################################################
6
##      ____                __                 ###########################################  ##
7
##     / __/___ _ ___ _ ___/ /____ ___   ___   ###########################################  ##
8
##    / _/ / _ `// _ `// _  // __// _ \ / _ \  ###########################################  ##
9
##   /___/ \_, / \_, / \_,_//_/   \___// .__/  ###########################################  ##
10
##        /___/ /___/                 /_/      ###########################################  ##
11
##                                             ###########################################  ##
12
##############################################################################################
13
##  ##                             Start Setup.                                         ##  ##
14
##############################################################################################
15
namespace eval whois {
16
## change cmdchar to the trigger you want to use                                        ##  ##
17
  variable cmdchar "!"
18
## change command to the word trigger you would like to use.                            ##  ##
19
## Keep in mind, This will also change the .chanset +/-command                          ##  ##
20
  variable command "whois"
21
## change textf to the colors you want for the text.                                    ##  ##
22
  variable textf "\017\00304"
23
## change tagf to the colors you want for tags:                                         ##  ##
24
  variable tagf "\017\002"
25
## Change logo to the logo you want at the start of the line.                           ##  ##
26
  variable logo "\017\00304\002\[\00306W\003hois\00304\]\017"
27
## Change lineout to the results you want. Valid results are channel users modes topic  ##  ##
28
  variable lineout "channel users modes topic"
29
##############################################################################################
30
##  ##                           End Setup.                                              ## ##
31
##############################################################################################
32
  variable channel ""

MIME types defined: text/x-tcl.