bio, see if you can get me on MSN. I will sit down with you and try and work this out, hopefully we can solve it. I wouldn't recommend setting up anything more than it needs to, i want to keep it as fast as possible.
A TG007 community discussion started by biohazard.
i need help with this everthing works but the part with !password can someone fix it for me thanks
on *:start: {
hmake registry 100
}
on *:join:#: {
if ($nick == $me) && ($exists(registry)) {
hload registry registry
hadd -m registry chan $chan
}
if ($nick != $me) && ($nick !isin $hget(registry,nick)) {
notice $nick Please Register Your Nick By Typing !register And Your Nick Along With Your Password In My Whisper$&

You Have Three Minutes To Do So $nick Or Risk Being Kicked For Non-Compliance
timerregister 1 180 kick $!chr(37) $!+ $right(#,-1) $nick Non-Compliance
}
if ($nick isin $hget(registry,nick)) {
timerregister off
notice $nick Type !password And Your Password In My Whisper
}
}
on *:TEXT:*!register*:?: {
if ($nick isin $hget(registry,nick)) {
kick $hget(registry,chan) $nick That Nick Is Registered Already
}
else {
hadd -m registry nick $addtok($hget(registry,nick),$2 $+ $chr(32) $+ $3,32)
hsave -so registry registry
timerregister off
}
}
on *:TEXT:*!password*:?: {
if (($2 isin $hget(registry,nick)) && $ial($nick) isin $mircdir\oper.txt) /mode # +o $nick halt else goto kick
:kick {
kick $hget(registry,chan) $nick Wrong Information $nick
if ($2 isin $hget(registry,nick)) {
notice $nick (Y) Welcome! | /closemsg $nick }
timerreg off
if ($2 !isin $hget(registry,nick)) {
kick $hget(registry,chan) $nick Nick is not registered ![]()
}
}
}
got it off rumbaar site on the form
hload registry registry
what exactly is that ment to be loading lol
My code does NOT have bugs. It just develops random features.
Its going to load his whole registry into his hash table so he can freeze up guard dog. ![]()
need some help fixing this to work with gd plz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;------------ Message Caller -----------;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:Call Judgement:*: {
ss msg $chan $nick Would you like to call Judgement ? ( Yes or No )
/set %JudgementCall $nick
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; First Respond
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:*yes*:*: {
if ($nick == %JudgementCall) {
/msg $chan $nick Please Define The Type ( Urgent - Casual )
/set %JudgementCall YES
}
}
on *:TEXT:*no*:*: {
if ($nick == %JudgementCall) {
/msg $chan Very well then $nick
/unset %Judgementcall
}
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Type Of Call
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:*Urgent*:*: {
if ($nick == %JudgementCall) {
/msg $chan Calling Judgement Right Now... Please hold..
/splay connected.wav
/unset %JudgementCall
}
}
on *:TEXT:*Casual*:*: {
if ($nick == %JudgementCall) {
/msg $chan Calling Judgement... Please Wait...
/splay unloaded.wav
/unset %JudgementCall
}
}
0n *:TEXT:*Casual:*:{
if ($me == away) { .timercall 1 5 /msg $chan Im sorry $nick i have placed a call to ?Judgement?! and he has not responded please try again later
elseif ($me == back) {halt}
/unset %JudgementCall
}
}
0n *:TEXT:*Urgent:*:{
if ($me == away) { .timercall 1 5 /msg $chan Im sorry $nick i have placed a call to ?Judgement?! and he has not responded please try again later
elseif ($me == back) {halt}
/unset %JudgementCall
}
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; END OF SCRIPT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
All you have to do is make them groups
on *:TEXT:command here*:#:{ msg # Would you like to call $me? | enable #call }
#call off
on *:TEXT:yes*:#:{ msg #Specify call as urgent or casual | enable #type | disable #call }
on *:TEXT:no*:#:{ disable #call | msg # Ok $nick }
#call end
#type off
on *:TEXT:urgent*:#:{ msg # Ok $nick what is it? | enable #urgent | disable #type }
on *:TEXT:casual*:#:{ msg # Ok $nick what is it? | enable #casual | disable #type }
#type end
#urgent off
on *:text:#:{ splay sound.mp3 | write urgentmsg.txt $nick has said $2- @ $fulldate | run urgentmsg.txt | msg # Thank you $nick $+ , it has been written | disable #urgent }
#urgent end
#casual off
on *:text:#:{ write casualmsg.txt $nick has said $2- @ $fulldate | msg # Thank you $nick $+ , it has been written
#casual end
Made it quick..should work. If it doesnt, post what doesnt work.
like this but it still don't work tho
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;------------ Message Caller -----------;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (Call Judgement== $1) { ss msg $chan $nick Would you like to call Judgement ? ( Yes or No )
/set %JudgementCall $nick }
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; First Respond
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*yes*== $1) {
if ($nick == %JudgementCall) {
/msg $chan $nick Please Define The Type ( Urgent - Casual )
/set %JudgementCall YES
}
}
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*no*== $1) {
if ($nick == %JudgementCall) {
/msg $chan Very well then $nick
/unset %Judgementcall
}
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Type Of Call
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*Urgent*== $1) {
if ($nick == %JudgementCall) {
/msg $chan Calling Judgement Right Now... Please hold..
/splay connected.wav
/unset %JudgementCall
}
}
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*Casual*== $1) {
if ($nick == %JudgementCall) {
/msg $chan Calling Judgement... Please Wait...
/splay unloaded.wav
/unset %JudgementCall
}
}
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*Casual== $1){
if ($me == away) { .timercall 1 5 /msg $chan Im sorry $nick i have placed a call to ?Judgement?! and he has not responded please try again later
elseif ($me == back) {halt}
/unset %JudgementCall
}
}
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (*Urgent== $1){
if ($me == away) { .timercall 1 5 /msg $chan Im sorry $nick i have placed a call to ?Judgement?! and he has not responded please try again later
elseif ($me == back) {halt}
/unset %JudgementCall
}
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; END OF SCRIPT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Yeah I know GK...I was coding it in a hurry and I didnt feel like second checking it.
Anyway, if your going to use that, dont use it in GD.
on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (Call Judgement == $1-) { ss msg $chan $nick Would you like to call Judgement ? ( Yes or No ) | set %JudgementCall $nick }
elseif (%JudgementCall == $nick) {
if ($1 == yes) { ss msg $chan $nick Please Define The Type ( Urgent - Casual ) | set %JudgementCall $nick YES }
elseif ($1 == no) { ss msg $chan Very well then $nick | unset %judgementcall }
}
elseif (%JudgementCall == $nick YES) {
if ($1 == urgent) { ss msg $chan Calling Judgement Right Now... Please hold.. | splay connected.wav }
elseif ($1 == casual) { ss msg $chan Calling Judgement... Please Wait... | splay unloaded.wav }
.timercall. $+ $chan 1 5 ss msg $chan Im sorry $nick i have placed a call to ?Judgement?! and he has not responded please try again later
unset %judgementcall
}
}
}
on *:INPUT:#: .timercall. $+ $chan off
something like this?
gate was wounder why there is no mode b or k
b Ban - Can be used to get a list of ban (ACCESS DENY) entries.
k Key - Room has an entry password set (same as PROP MEMBERKEY).
mode b only returns a list of access bans set to indefinate, not those with time. K, not sure why i didn't put that in ![]()
Though these kind of things, i'd prefer submitted through GuarD-Doctor. Open GuarD-Doctor > Select Error > Submit Error
and just type it there. That way it gets to my "to-do-list".
So yea, small things like this should go there, when we get bigger, like remote command modifications, or addons or something, then yea, you go through here.
ROFL.. Dude.. I told ya to do it that way bio... LOL.. you should have listen to me.. BTW.. it's LivinGodLoud..
ROFL...HEHEHEHEHEHEH
![]()
![]()
![]()
![]()
![]()
Sign in to reply or start a new topic where your account has permission.