i made this system for user's help, though it works fine but i want to add few more thing in it...which im not getting understand how to do it properly...in this regard i need help with following things:-
1. i want add feature that script should show how many users has been complained, mean number of users or nicks should be shown like it shows in kickloger system..
2.suppose there are total 20 usere had made complaints....n i want to read complain no 16 how wud it work with command?
#messagebot on
on *:join:#: { if (%messagebot = On) && ($me isop $chan) {
if ($nick == $me) halt
ctcpreply $nick TIME ï€ -=[ Problem Reporting is on ]=-
-=[ Type !problem to read detail ]=-
-=[ !complain your message for record you complain ]=-
-=[ !suggest your message for record your suggestions ]=-
}
}
on *:text:*!problem*:*: {
/ctcpreply $nick TIME ï€ -=[ Record Your Problems ]=-
-=[ You can complain about Hosts,Owners,Scripts users etc ]=-
-=[ Or make a suggestion about any thing ]=-
-=[ We will try our best to resolve your concern ]=-
-=[ Just Type: !complain or !suggest and your message ]=-
}
on *:text:*!complain*:*: {
write Complaints/complaints.ini $nick Complained that: $2-
/privmsg # 
-=[ $nick your complaint has been recoreded ]=- 
-=[ We will try to resolve your concern]=-
}
on *:text:*!suggest*:*: {
write Complaints/suggestion.ini $nick Suggested that: $2-
/privmsg # 
-=[ $nick your suggestion has been recoreded ]=- 
-=[ We will consider your suggestion]=-
}
On *:TEXT:!readsug:#:/msg # S \rTahoma;0 (*) 
 (*) $+ $read Complaints/suggestion.ini 
 Type: !suggestion (You'r suggestion) For Adding suggestion ..(*)
On *:TEXT:!readcom:#:/msg # S \rTahoma;0 (*) 
 (*) $+ $read Complaints/complaints.ini 
 Type: !complain (You'r complain) For Adding complain ..(*)
On Level5:TEXT:!com*:#:/run Complaints\Complaints.ini
On Level5:TEXT:!sug*:#:/run Complaints\suggestion.ini
On Level5:TEXT:!clcom*:#: write -c Complaints\Complaints.ini
On Level5:TEXT:!clsug*:#: write -c Complaints\suggestion.ini
#messagebot end
menu menubar {
-
-=[ Complain Bot ( $+ $group(#messagebot) $+ ) ]=-
..On:{ .enable #messagebot | set %messagebot on | echo -a 0,12Complain Recorder is now $+ 0,94 On }
..Off:{ .disable #messagebot | set %messagebot off | echo -a 0,12Complain Recorder is now $+ 0,4 Off }
.Edit
..Complaints:/run Complaints\Complaints.ini
..Suggestions:/run Complaints\suggestion.ini
.Clear
..Complaints: write -c Complaints\Complaints.ini
..Suggestions: write -c Complaints\suggestion.ini
.-