help with on *:TEXT events if nick is ops - 02/02/15 07:58 PM
I'm using the below script with on *:TEXT but I have quite a few messages for ops only to read. Is there a way to combine them without having to use this script over and over for all the on *:TEXT events?
My script is this:
My script is this:
Quote:
on *:TEXT:*nickinfo*:#: {
/if $nick isop $chan //.notice $nick Type your selection: 5nick info - auto op - nick expire - and 8 more )
/else //.notice $nick Sorry only for use by ops )
}
;some others that i need to .notice as well
on 1:text:nick info*:#:{ /notice $nick Get all information for a nick (if registered) type: 5 /msg NickServ info nick all 4 Display in Status Window }
on 1:text:auto op:#:{ /notice $nick Sets whether the given nickname will be opped automatically or not type: 5 /msg NickServ saset nick autoop ON or OFF }
on 1:text:nick expire*:#:{ /notice $nick Sets whether the given nickname will expire or not: 5 /msg NickServ saset nickname noexpire ON or OFF }
/if $nick isop $chan //.notice $nick Type your selection: 5nick info - auto op - nick expire - and 8 more )
/else //.notice $nick Sorry only for use by ops )
}
;some others that i need to .notice as well
on 1:text:nick info*:#:{ /notice $nick Get all information for a nick (if registered) type: 5 /msg NickServ info nick all 4 Display in Status Window }
on 1:text:auto op:#:{ /notice $nick Sets whether the given nickname will be opped automatically or not type: 5 /msg NickServ saset nick autoop ON or OFF }
on 1:text:nick expire*:#:{ /notice $nick Sets whether the given nickname will expire or not: 5 /msg NickServ saset nickname noexpire ON or OFF }