/showme {@AnsiBold()@ForeYellow()--OmaIP--@Chr(10)@AnsiReset()OmaIP will store IPs of people from various channels into a list (OmaIP) and some vars. The vars are all grouped as OmaIP for easy review (/groupvar OmaIP). Simple to use, just type in "omaip" to see the list. "ocall #" to call an entry. "okill #" to remove an entry. The "#" is the index number of the entry you see via "omaip", you don't need to supply the zeros (0001: --> just use "1").@Chr(10)UNTESTED: Clan/Town spew. I'm not clanned so no way for me to test it.@Chr(10)This message will self destruct now...} /listadd {OmaIP} {OmaIP} /action {%0:: %2.%3.%4.%5} {/var temp 0;/if {@WordCount($0)==1} {/if {@IsNumber($2$3$4)==1} {/loop {1,@WordCount($5)} {/if {@IsNumber(@Word($5,$LoopCount))==1} {/var temp @Math($temp+0)} {/var temp @Math($temp+1)}};/if {$temp==0} {OmaIP1}}}} {iplogger} /action {[TOWN] %0 (%1) says, '%2.%3.%4.%5'.} {/var temp 0;/if {@WordCount($0)==1} {/if {@IsNumber($2$3$4)==1} {/loop {1,@WordCount($5)} {/if {@IsNumber(@Word($5,$LoopCount))==1} {/var temp @Math($temp+0)} {/var temp @Math($temp+1)}};/if {$temp==0} {OmaIP1}}}} {iplogger} /action {You feel %0 say, '%2.%3.%4.%5'.} {/var temp 0;/if {@WordCount($0)==1} {/if {@IsNumber($2$3$4)==1} {/loop {1,@WordCount($5)} {/if {@IsNumber(@Word($5,$LoopCount))==1} {/var temp @Math($temp+0)} {/var temp @Math($temp+1)}};/if {$temp==0} {OmaIP1}}}} {iplogger} /action {%0 %1, '%2.%3.%4.%5'.} {/var temp 0;/if {@WordCount($0)==1 && @WordCount($1)==1 && $0!="You" && $0!="[TOWN]"} {/if {@IsNumber($2$3$4)==1} {/loop {1,@WordCount($5)} {/if {@IsNumber(@Word($5,$LoopCount))==1} {/var temp @Math($temp+0)} {/var temp @Math($temp+1)}};/if {$temp==0} {OmaIP1}}}} {iplogger} /alias {OmaIP1} {/if {@GetCount(OmaIP)>0} {/loop {1,@GetCount(OmaIP)} {/if {"@Word(@GetItem(OmaIP,$LoopCount),1)"==$0} {/var temp $LoopCount}}};/itemdel OmaIP $temp;OmaIP2} {OmaIP} /alias {OmaIP2} {/var {$0IP} {$2.$3.$4.$5} {OmaIP};/itemadd {OmaIP} {$0 $2.$3.$4.$5};/loop {1,@GetCount(OmaIP)} {/if {@StrStr(@GetItem(OmaIP,$LoopCount),$0)!=-1} {/var temp @PadLeft($LoopCount,0,@Math(4-@Len($LoopCount)))}};/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeBlue()IP added: @ForeYellow()[@ForeWhite()@Var(temp): @ForeCyan()$0 @ForeBlue()$2.$3.$4.$5@ForeYellow()]@AnsiReset()}} {OmaIP} /alias {omaip} {/if {@GetCount(OmaIP)<=0} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()The IP List is EMPTY!@AnsiReset()}} {/showme {@AnsiBold()@ForeYellow()--OmaIP--@Chr(10)@AnsiReset()======@ForeCyan()Name@AnsiReset()=====================@ForeBlue()IP@AnsiReset()=======@ForeGreen()Port};/loop {1,@GetCount(OmaIP)} {/showme {@AnsiBold()@ForeWhite()@PadLeft($LoopCount,0,@Math(4-@Len($LoopCount))): @PadRight(@ForeCyan()@Word(@GetItem(OmaIP,$LoopCount),1), ,@Math(18-@Len(@Word(@GetItem(OmaIP,$LoopCount),1))))@ForeBlue()@PadLeft(@Word(@GetItem(OmaIP,$LoopCount),2), ,@Math(15-@Len(@Word(@GetItem(OmaIP,$LoopCount),2)))) @ForeGreen()@Word(@GetItem(OmaIP,$LoopCount),3)}};/showme {@AnsiReset()======@ForeCyan()Name@AnsiReset()=====================@ForeBlue()IP@AnsiReset()=======@ForeGreen()Port@AnsiReset()@Chr(10)"ocall index#" to call a listed ip@Chr(10)"okill index#" to remove an entry.}} {OmaIP} /alias {ocall %0} {/if {@IsNumber($0)==0} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()Error:@Chr(10)@AnsiReset()syntax:"ocall #" -- @AnsiBold()@ForeWhite()Supply an actual NUMERAL, "@ForeRed()$0@ForeWhite()" is invalid.@AnsiReset()}} {/if {$0>@GetCount(OmaIP) || $0<=0} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()Error:@Chr(10)@ForeWhite()You supplied an invalid numeral "@ForeRed()$0@ForeWhite()" (negative or beyond the list's index range) -- there's @ForeBlue()@GetCount(OmaIP)@ForeWhite() item(s) in the list currently@AnsiReset()}} {/call @Var(@Word(@GetItem(OmaIP,$0),1)IP);/showme {@AnsiBold()@ForeYellow()--OmaIP-- @AnsiReset()Attempting to call @AnsiBold()@ForeCyan()@Word(@GetItem(OmaIP,$0),1) @AnsiReset()at @AnsiBold()@ForeBlue()@Var(@Word(@GetItem(OmaIP,$0),1)IP)@AnsiReset()...}}}} {OmaIP} /alias {okill %0} {/if {@IsNumber($0)==0} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()Error: @ForeBlue()Value supplied wasn't a numeral, or you didn't supply any value.}} {/if {@WordCount($0)!=1} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()Error: @ForeBlue()You can only supply a single numeral, you either didn't supply a value, or supplied more than one.}} {/if {$0>@GetCount(OmaIP)} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- @ForeRed()Error: Value supplied was out of bounds (beyond the number of items in the OmaIP list.}} {/showme {@AnsiBold()@ForeYellow()--OmaIP-- Removed index entry @ForeWhite()$0@ForeBlue(): @ForeCyan()@GetItem(OmaIP,$0)};/unvar @Word(@GetItem(OmaIP,$0),1)IP;/itemdel OmaIP $0}}}} {OmaIP}