I want to be able to use theese commands, so I need a script, so they'll work:
?cmd - cmd:
?t - topic:if op: ?t ?o ?do ?v and so on..
-
if voiced/reg: ?t
?o - op:<user1> ?t
<bot> Topic is: <topic>
-
<admin> ?t newtopic
<bot> changes topic to: newtopic
?do - deop:<user1> ?o user1
<bot> sets mode +o: user1
?v - voice:<user1> ?do user1
<bot> sets mode -o: user1
?dv - devoice:<user1> ?v user1
<bot> sets mode +v: user1
?k - kick:<user1> ?dv user1
<bot> sets mode -v: user1
?kb - kickban:<user1> ?k user1 bye
<user1> was kicked by <bot> (bye)
?tb - tempban:<user1> ?kb user1 (bye)
<bot> sets mode +b: *@hostname
<user1> was kicked by <bot> (bye)
?b - ban:<user1> ?tb user1 600 (bye)
<bot> sets mode +b: *@hostname
<user1> was kicked by <bot> (bye)
(600 sec later:)
<bot> sets mode -b: *@hostname
?ub - unban:<user1> ?b *@hostname
<bot> sets mode -b: *@hostname
-
<user1> ?b nick
<bot> error: must contain hostname, not nick.
?i - invite:<user1> ?ub *@hostname
<bot> sets mode -b: *@hostname
-
<user1> ?ub nick
<bot> error: must contain hostname, not nick.
?m - mode<user1> ?i nick
<bot> invites nick to join channel
?cmd and ?t is for op/reg/voiced. The rest is just for op.<user1> ?m +i
<bot> sets mode: +i
It would be GREAT if someone fixed this for me! <3