PDA

View Full Version : !reqadd !reqfilled problems


freak
12-01-2004, 02:57 PM
Hi
I got similar problem with !reqadd in dzsbot.tcl
I thought it will be ok to post it here

How i can change flags in dzsbot.tcl to make every1 make requests (not only ops) at chan with !reqadd !reqfilled cmds ?
And if i want to add more than 1 person or 1 grp here
Request_IRC_Uid = 0
Request_IRC_Gid = 0
how should it look like?

...and this is the last one - i wanted to change !reqfilled announce from default Notice to announce like for cmd !reqadd - anyone know how to do it i mean for !reqfilled number it will show:
[REQFILLED] - %request filled by nick@grp at chan (not sent as notice)
I know that puthelp "NOTICE $nick :Request number $arg is now filled" at request filled section in dzsbot has to be changed to something like request add in dzsbot but i dont know scripting that good :(

Any help will be appreciated
TNX alot

WarC
12-01-2004, 03:01 PM
Request_IRC_Uid = 0
Request_IRC_Gid = 0

you can only have one user/group. ie this is a valid accound on server. My guess sitebot account is mostly used

gurken
12-01-2004, 03:23 PM
sndchan "puthelp" $chan "\[REQUEST\] + Request number $arg has been filled by $nick"

freak
12-01-2004, 05:27 PM
hmm so i can set only 1 person OR 1 grp
if i want to set grp simply :
Request_IRC_Uid = ""
Request_IRC_Gid = 4

and every1 from this grp can make req at chan right?

Harm
12-03-2004, 12:56 PM
No, the UID and GID specified here will be used by ioA.exe when it's called by dZSbot. The user (and group) corresponding to them will be considered as the one who made the request when you use !reqadd on irc.
The permissions for the irc commands are sitebot stuff and aren't handled by ioA. Check your dZSbot.tcl and its documentation.