Skip to content
GuarDDog v. 5

gd5.0a

A TG007 community discussion started by biohazard.

Discussion 36 posts
Page 1 of 2
Open
Topic #6094 · 36 published posts · 3,679 views

how would i be able to add my self to the user list so i can add more commands that i have and be able to use them ? in gd5.0a

ok, well basically, the way GuarDDog v. 5 works now is that it uses a seperate system, not the userlist system. so basically this is what you need to do.

 

on *:TEXT:*:#: {
  var %t = $strip($1-) | tokenize 32 %t
  if ($aop.level($chan,$nick) == <level>) {
    if (<command1> == $1) { ... }
    elseif (<command2> == $1) { ... }
    elseif (<command3> == $1) { ... }
  }
}

 

see how it have some things in there as <>. Basically that means you need to modify it how you see fit. For $aop.level($chan,$nick) it returns the user's level. The format is <g|l><level> (g or l then level)

 

So for example, if you had yourself as a global admin, the level that returns is gadmin. If you had yourself as local protect, the level would be lprotect.

 

I know this is a bit of a complex way to do things, but it's the way that it needs to be, to support not only the global and local system, but also to support use colors. If you get stuck, give me a few of your commands, i'll start you off, and you should be able to follow it from there.

Still Can't get The Profile Scanner Going No Idea Why It Not Working

here are some codes i want to work with gd

 

 

on gadmin.:TEXT:<gate*:#:/msg # $2-'s gate is this $address($$2,1

on gadamin:TEXT:!roommode:#: /msg $chan $nick The current room modes are : $chan($active).mode

 

Dippy, have you updated to the latest GD5. If so, in the addon section it should work fine. I've seen in several rooms the profile scanner opperational. So it should work for you. Just make sure you have the protection system with 1 setting (by default it has 1 setting, and that is GuarDDog), and work from that.

 

Ok bio, this is how the code would be. So for global admin user ok?

 

on *:TEXT:*:#: {
  var %t = $strip($1-) | tokenize 32 %t
  if ($aop.level($chan,$nick) == gadmin) {
    if (<gate == $1) msg $chan $2 $+ 's GateKeeperID is : $ial($2).addr
    elseif (!roommode == $1) msg $chan $nick $+ , The current room modes are $chan($chan).mode
  }
}

gatekeeper i got stuck how would i make a code for gd so when some on joins the room it tells the commands in time

 

like this

biohazard the games commads are !rednecks ,!msn

and so one

on *:JOIN:#: {
  if ($aop.level($chan,$nick) == <level here>) {
    ss .ctcpreply $nick TIME $nick $+ , the game commands are:
    ss .ctcpreply $nick TIME !rednecks
    ss .ctcpreply $nick TIME !msn
  }
}

 

Like that, make sure to replace <level here> with what the person's level is, like i taught you with the on text event.

ok on this code everything works but the kick

 

on *:JOIN:#:{

IF ($NIcK == $ME) { HALT }

;if ($nick isowner $chan) halt

if ($ME ISOWNER $CHAN) {

var %chan = $gettok($chan,2,35)

ss .ctcpreply $nick TIME You Have 2 Minz To Tell Us Your Asl Or Else!

}

}

 

alias k|ck { kick $+($chr(37),$chr(35),$replace($1,$chr(32),\B)) No asl! }

 

on *:TEXT:*:#: {

if ($me ISOWNER $chan) {

if (*/*/* iswm $1) {

timer $+ $nick off

ss .ctcpreply $nick TIME Thanks For The Asl

}

}

}

 

Hey bro. I have a question. I have tried everything I know how to change the default text in gd5. Here is an example...

 

on ^*TEXT:*:#: { echo $chan $dc.decode($nick) : $filter($1-) }

 

I even tried something like this...

 

on ^*TEXT:*:#: { echo $chan $dc.decode($nick) : $filter($1-) | haltdef }

 

However, it still gives the default gd5 text, and then it gives my edited text

 

[10:45] TestBot : Hello There.

TestBot : Hello There.

 

[10:45] TestBot : This is a test.

TestBot : This is a.

 

(The word, test, being edited out by the $filter command)

 

Is there anyway around this?

Edited Feb 26, 2006 10:21 PM by Warrior124

what is wrong with this

 

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if (.question == $1)

ss msg # S jCourier\bNew;0 ________

ss msg # S jCourier\bNew;0 _jgN########Ngg_

ss msg # S jCourier\bNew;0 _N##N@@""""9NN##Np_

ss msg # S jCourier\bNew;0 d###PN####p

ss msg # S jCourier\bNew;0 "^^"T####

ss msg # S jCourier\bNew;0 d###P

ss msg # S jCourier\bNew;0 _g###@F

ss msg # S jCourier\bNew;0 _gN##@P

ss msg # S jCourier\bNew;0 gN###F"

ss msg # S jCourier\bNew;0 d###F

ss msg # S jCourier\bNew;0 0###F

ss msg # S jCourier\bNew;0 0###F

ss msg # S jCourier\bNew;0 0###F

ss msg # S jCourier\bNew;0 "NN@'

ss msg # S jCourier\bNew;0

ss msg # S jCourier\bNew;0 ___

ss msg # S jCourier\bNew;0 q###r

ss msg # S jCourier\bNew;0 ""

}

}

 

You forgot an extra opening bracket, and closing bracket. Try this...

 

on *:TEXT:*:#: {
var %t = $strip($1-) | tokenize 32 %t
if ($aop.level($chan,$nick) == gadmin) {
if (.question == $1) {
ss msg # S jCourier\bNew;0 ________ 
ss msg # S jCourier\bNew;0 _jgN########Ngg_ 
ss msg # S jCourier\bNew;0 _N##N@@""""9NN##Np_ 
ss msg # S jCourier\bNew;0 d###PN####p 
ss msg # S jCourier\bNew;0 "^^"T#### 
ss msg # S jCourier\bNew;0 d###P 
ss msg # S jCourier\bNew;0 _g###@F 
ss msg # S jCourier\bNew;0 _gN##@P 
ss msg # S jCourier\bNew;0 gN###F" 
ss msg # S jCourier\bNew;0 d###F 
ss msg # S jCourier\bNew;0 0###F 
ss msg # S jCourier\bNew;0 0###F 
ss msg # S jCourier\bNew;0 0###F 
ss msg # S jCourier\bNew;0 "NN@' 
ss msg # S jCourier\bNew;0  
ss msg # S jCourier\bNew;0 ___ 
ss msg # S jCourier\bNew;0 q###r 
ss msg # S jCourier\bNew;0 "" 
}
}
}

ok on this code everything works but the kick

 

on *:JOIN:#:{

IF ($NIcK == $ME) { HALT }

;if ($nick isowner $chan) halt

if ($ME ISOWNER $CHAN) {

var %chan = $gettok($chan,2,35)

ss .ctcpreply $nick TIME You Have 2 Minz To Tell Us Your Asl Or Else!

}

}

 

alias k|ck { kick $+($chr(37),$chr(35),$replace($1,$chr(32),\B)) No asl! }

 

on *:TEXT:*:#: {

if ($me ISOWNER $chan) {

if (*/*/* iswm $1) {

timer $+ $nick off

ss .ctcpreply $nick TIME Thanks For The Asl

}

}

}

 

on .!*:JOIN:#: { if ($nick !isowner $chan) { ss .ctcpreply $nick TIME You Have 2 Minz To Tell Us Your Asl Or Else! | .timerkasl $+ $nick 1 120 kick $chan $nick No ASL!  } }
on .*:TEXT:*:#: { if (*/*/* iswm $1-) { .timerkasl $+ $nick off | ss .ctcpreply $nick TIME Thanks for the ASL } }
on *:PART:#: .timerkasl $+ $nick off
on *:KICK:#: .timerkasl $+ $knick off
on *:QUIT: .timerkasl $+ $nick off

 

Something like that i'm presuming? Reason why yours didn't work is because you didn't have a timer, and also DogCollar doesn't required the %, in your k|ck code, you have a percent.

 

Warrior, reason why your code isn't working is because of MTSLoader. It generates the code for you. I will sit down with you and try and sort this out.

do i have to put 1 macro in a file by its self for them to work ?

not that i'm aware of.

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if (!o == $1) { mode $chan $iif($nick isop $chan,+o,-o) $nick }

if (!q == $1) { mode $chan $iif($nick isop $chan,+q,-q) $nick }

}

}

is that how it goes gate put it don't work for gd5 in less i don't have something right

it should be correct. I don't see anything wrong with that code.

i have add a macro kicks to the macro in gd but they will not work anyhelp

 

 

 

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if (`abduct == $1)

ss msg $1 $chan (*)~~~~~~~~~Come with us~~~~~~~~~(*)

timer1 1 7 kick $!comchan($me,1) $2- We are Taking You To Our Leader!

ss msg $1 S jCourier\bNew;0

ss msg $1 S jCourier\bNew;0 .-'~~~~'-.

ss msg $1 S jCourier\bNew;0 ..-~\__/\__/`~-..

ss msg $1 S jCourier\bNew;0 .-~(al)(al)~-.

ss msg $1 S jCourier\bNew;0 (_____//~~\\//~~\\______)

ss msg $1 S jCourier\bNew;0 _.-~``~-._

ss msg $1 S jCourier\bNew;0 /O=O=O=O=O=O=O=O=O=O=O=O=O=O=O=O=O=O\*

ss msg $1 S jCourier\bNew;0 \___________________________________/.

ss msg $1 S jCourier\bNew;0 \xxxxxxx/

ss msg $1 S jCourier\bNew;0 .*\x_x_x_x_x_x/.

ss msg $1 S hCourier\bNew;0

ss msg $1 S fCourier\bNew;0 ||||

ss msg $1 S hCourier\bNew;0 |||

ss msg $1 S fCourier\bNew;0 |||

ss msg $1 S hCourier\bNew;0 |||

ss msg $1 S fCourier\bNew;0 |||

ss msg $1 S hCourier\bNew;0 |||

ss msg $1 S fCourier\bNew;0 ||||

ss msg $1 S hCourier\bNew;0 |||

ss msg $1 S fCourier\bNew;0 ||||

ss msg $1 S jCourier\bNew;0 $2

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == *) {

if (*god dam* == $1)

ss msg $1 $chan :o $nick How dare you!

ss msg $1 S vCourier\bNew;0 __

ss msg $1 S vCourier\bNew;0 \||/

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ____||____

ss msg $1 S vCourier\bNew;0 |________|

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 /||\

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 |__|GOD BLESS YOU (A)

timer [ $+ [ $nick ] ] [ $+ [ . ] ] [ $+ [ $chan ] ] 1 1 kick $!gettok($ctimer,2,46) $!gettok($ctimer,1,46) Go find yourself then come back!

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == *) {

if (*goddam* == $1)

ss msg $1 $chan :o $nick How dare you!

ss msg $1 S vCourier\bNew;0 __

ss msg $1 S vCourier\bNew;0 \||/

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ____||____

ss msg $1 S vCourier\bNew;0 |________|

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 /||\

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 ||

ss msg $1 S vCourier\bNew;0 |__|GOD BLESS YOU (A)

timer [ $+ [ $nick ] ] [ $+ [ . ] ] [ $+ [ $chan ] ] 1 1 kick $!gettok($ctimer,2,46) $!gettok($ctimer,1,46) Go find yourself then come back!

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if ( =:`arsekick= $1)

ss msg $1 S \rCourier\bNew;0

timer1 1 7 kick $!comchan($me,1) $2- Can ya fill that?????

ss msg $1 S \rCourier\bNew;0 _,,,,

ss msg $1 S \rCourier\bNew;0 \\\ ,ouch!

ss msg $1 S \rCourier\bNew;0 ____/c=o=

ss msg $1 S \rCourier\bNew;0 \|//*_/|/\__C/

ss msg $1 S \rCourier\bNew;0 -/_/,-.*_/\\__ ___

ss msg $1 S \rCourier\bNew;0 _\\_|\*__/\-/O\/'_\

ss msg $1 S \rCourier\bNew;0 \_\x|*/\____,\______\/'

ss msg $1 S \rCourier\bNew;0 /\_,///>)\_\#_/_\/

ss msg $1 S \rCourier\bNew;0 /,/+\ //_/)_/\\\

ss msg $1 S \rCourier\bNew;0 \__|+O)\/_/\/\_\\

ss msg $1 S \rCourier\bNew;0 /\__D/\_/)_>,))

ss msg $1 S \rCourier\bNew;0 /_o\_/,_/_//\

ss msg $1 S \rCourier\bNew;0 //,_/__//_._/\__\

ss msg $1 S \rCourier\bNew;0 //\o//_//_\__/\_/\

ss msg $1 S \rCourier\bNew;0 /__o/\___|_//x(\/'-,__

ss msg $1 S \rCourier\bNew;0 _//\____/\\x\|______\

ss msg $1 S \rCourier\bNew;0 \\>\\\|

ss msg $1 S \rCourier\bNew;0 //|\__\'-'

ss msg $1 S \rCourier\bNew;0 //

ss msg $1 S \rCourier\bNew;0 \___(

ss msg $1 S \rCourier\bNew;0 /_/

ss msg $1 S \rCourier\bNew;0 /O\

ss msg $1 S \rCourier\bNew;0 '-\__

ss msg $1 S \rCourier\bNew;0 \_____)

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if ( =:`kick= $1)

ss msg $1 $chan

timer1 1 7 kick $!comchan($me,1) $2-

ss msg $1 S jCourier\bNew;0 .-'\

ss msg $1 S jCourier\bNew;0 .-'`/\

ss msg $1 S jCourier\bNew;0 .-'`/\

ss msg $1 S jCourier\bNew;0 \`/\

ss msg $1 S jCourier\bNew;0 __\`/\

ss msg $1 S jCourier\bNew;0 _---\`/\_.--._-_-- $2

ss msg $1 S jCourier\bNew;0 --_-\`/`-..--\)_---_-

ss msg $1 S jCourier\bNew;0 __-_--\_`,','/,')

ss msg $1 S jCourier\bNew;0 --_-\`-- ~,','

ss msg $1 S jCourier\bNew;0 --_-_\,','

ss msg $1 S jCourier\bNew;0 --_-\,--.____==-

ss msg $1 S jCourier\bNew;0 -_-_--\\_-~\

ss msg $1 S jCourier\bNew;0 --_-_`_-~_.-'

ss msg $1 S jCourier\bNew;0 __-_--\-~

ss msg $1 S jCourier\bNew;0

ss msg $1 S jCourier\bNew;0

ss msg $1 S jCourier\bNew;0 Lmao there goes $2

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if ( =:`door= $1)

ss msg $1 $chan :o $2 $nick said i had to show ya the door:P

ss msg $1 S \rCourier\bNew;0 __________

ss msg $1 S \rCourier\bNew;0 |____|

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||__||__||

ss msg $1 S \rCourier\bNew;0 | ____()|

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||||||

ss msg $1 S \rCourier\bNew;0 ||__||__||

ss msg $1 S \rCourier\bNew;0 |__________|

timer1 1 4 kick $!comchan($me,1) $2- Dont let the door hit yas were the good lord split yas:P

}

on *:TEXT:*:#: {

var %t = $strip($1-) | tokenize 32 %t

if ($aop.level($chan,$nick) == gadmin) {

if ( =:`nuke= $1)

ss msg $1 $chan (*)PACKAGE AWAY $nick (*)

ss msg $1 S eCourier\bNew;0 ____

ss msg $1 S eCourier\bNew;0 __,-~~/~`---.

ss msg $1 S eCourier\bNew;0 _/_,---(,)

ss msg $1 S eCourier\bNew;0 __/</)\___

ss msg $1 S eCourier\bNew;0 -------===;;;'====------------------===;;;===-------

ss msg $1 S eCourier\bNew;0 \/~"~"~"~"~"~\~"~)~"/

ss msg $1 S eCourier\bNew;0 (_(\(>\)

ss msg $1 S eCourier\bNew;0 \_(_<>_>'

ss msg $1 S eCourier\bNew;0 ~`-i':i>|--"

ss msg $1 S eCourier\bNew;0 I;|.|.|

ss msg $1 S eCourier\bNew;0 <|i::ii|`.

ss msg $1 S eCourier\bNew;0 (`^'"`-'")

ss msg $1 S \rCourier\bNew;0 -------------------------- $2 $3------------------------

timer1 1 4 kick $!comchan($me,1) $$ial(* $+ $2 $+ *,1).nick YOU HAVE BEEN NUKED BY $nick

}

Edited Mar 4, 2006 11:13 PM by biohazard

try the internal macro kicker. It's located under text based kicks. Don't forget to config it to set the levels. If it doesn't work, tell me, i'll look into it, but as far as i know, it should work fine.

ok i look internal macro kicker its set to off and i edite my last post for the levels still don't work tho

how would i make a timer for the nicklist to refresh it keeps on getting stuck when they get owner up it still says they are a participants

on gd