on $*:TEXT:/^[~!@.]history/Si:#dra9sden,#rspc,#rspc-staff: { hadd -m $+(history.,$nick) disp $iif($left($1,1) == @,msg $chan,notice $nick) | if ($readini(bot.ini,ignore,$address($nick,2)) != true) && ($nick !isreg $chan) && (($2 isnum && $2 >= 1 && $2 <= 10) || ($2 == $null)) { $hget($+(history.,$nick),disp) 3#RSPC 2Pcw History Trail: | $hget($+(history.,$nick),disp) 3¤1¤ 2[3 %pcw 2-3 %date $iif(%time == N/A,N/A,$duration($calc($ctime - %time),20)) 2ago] %scouter | if ($2 == 1) { halt | hfree history. } var %a 2, %b $iif($2 != $null && $2 >= 2 && $2 < 10,$2,10) | while (%a <= %b) { $hget($+(history.,$nick),disp) 3¤ $+ $v1 $+ 3¤ 2[3 %pc [ $+ [ $v1 ] ] 2-3 %date [ $+ [ $v1 ] ] 2for3 %time [ $+ [ $v1 ] ] 2] %scout [ $+ [ $v1 ] ] | inc %a } | hfree -w history } | if ($nick != Dra9) { writeini Bot.ini Ignore $address($nick,2) True | timer 1 60 remini bot.ini ignore $address($nick,2) } | elseif ($2 != $null && $2 !isnum || $2 < 1 || $2 > 10) { notice $nick 4Haha goodluck with that! } }