egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make an "admin system"

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
toXiP
Voice


Joined: 01 Jan 2008
Posts: 10

PostPosted: Wed Feb 20, 2008 5:20 pm    Post subject: Make an "admin system" Reply with quote

Hi,

I want to be able to use theese commands, so I need a script, so they'll work:
?cmd - cmd:
Quote:
if op: ?t ?o ?do ?v and so on..
-
if voiced/reg: ?t

?t - topic:
Quote:
<user1> ?t
<bot> Topic is: <topic>
-
<admin> ?t newtopic
<bot> changes topic to: newtopic

?o - op:
Quote:
<user1> ?o user1
<bot> sets mode +o: user1

?do - deop:
Quote:
<user1> ?do user1
<bot> sets mode -o: user1

?v - voice:
Quote:
<user1> ?v user1
<bot> sets mode +v: user1

?dv - devoice:
Quote:
<user1> ?dv user1
<bot> sets mode -v: user1

?k - kick:
Quote:
<user1> ?k user1 bye
<user1> was kicked by <bot> (bye)

?kb - kickban:
Quote:
<user1> ?kb user1 (bye)
<bot> sets mode +b: *@hostname
<user1> was kicked by <bot> (bye)

?tb - tempban:
Quote:
<user1> ?tb user1 600 (bye)
<bot> sets mode +b: *@hostname
<user1> was kicked by <bot> (bye)
(600 sec later:)
<bot> sets mode -b: *@hostname

?b - ban:
Quote:
<user1> ?b *@hostname
<bot> sets mode -b: *@hostname
-
<user1> ?b nick
<bot> error: must contain hostname, not nick.

?ub - unban:
Quote:
<user1> ?ub *@hostname
<bot> sets mode -b: *@hostname
-
<user1> ?ub nick
<bot> error: must contain hostname, not nick.

?i - invite:
Quote:
<user1> ?i nick
<bot> invites nick to join channel

?m - mode
Quote:
<user1> ?m +i
<bot> sets mode: +i


?cmd and ?t is for op/reg/voiced. The rest is just for op.

It would be GREAT if someone fixed this for me! <3


Last edited by toXiP on Wed Feb 20, 2008 5:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Feb 20, 2008 5:37 pm    Post subject: Reply with quote

Search the Tcl Archive.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
toXiP
Voice


Joined: 01 Jan 2008
Posts: 10

PostPosted: Thu Feb 21, 2008 7:58 am    Post subject: Reply with quote

tkpubcmds.tcl got !t, !kb, !k, !o, !do, !v and !dv. So probably, I can make !b and !ub. But I need help with !cmd, !tb, !i and !m.

Also, the script should only be used by people with op (and admin of the bot) on the chan (except !cmd and !t).
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Feb 21, 2008 9:25 am    Post subject: Reply with quote

There's a FULL description of what the script does within the header.

It does everything as expected (kick / kick ban etc).
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
toXiP
Voice


Joined: 01 Jan 2008
Posts: 10

PostPosted: Sun Feb 24, 2008 7:00 pm    Post subject: Reply with quote

Now I just need ?cmd and ?tb, could anyone help me out? Smile

Also, I need the script to only work for op-ed users (except for ?cmd)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber