Skip to content
GuarDDog Script

random responses to specefic commands ?

A TG007 community discussion started by Bruce Almighty.

Discussion 5 posts
Page 1 of 1
Open
Topic #2418 · 5 published posts · 838 views

well , can i do that with guraddog ?

 

 

for example , the command is @joke , how to programme the bot to make it say a different joke everytime i use the same command ( @joke ) ? .

 

 

 

ok, create a file in GuarDDog's main folder and call it jokes.txt

 

then in bottalk, put in @jokes [with the properties you want]

 

for the responce put this

 

$read($mircdirjokes.txt)

 

and it will read a random line in the text file jokes.

thank you for your quick answer .

 

but if i wanted to use it with the " Access Commands" , what should i write for the Responce ?

 

nevermind got it , anyway since i don't want to create a whole new thread about it , i've got a couple of questions and i'd appreciate your help :

 

1-if some 1 got banned , how can i unban him manually ?

 

 

2-how can i Programme the bot to respond to a command in 2 lines or more ?

 

for example if some 1 says hi , i want the bot to repond this way :

 

Hi $nick ...

How you doin ?

 

 

Edited Jan 4, 2005 2:51 AM by Bruce Almighty

no worries, always want me GD users to feel that they are getting the full ability of it.

 

first answer, when your in the chat room, click the button labeled access list and find the access entry. It is normally in there by gatekeeperid so you will have to match it up to the gatekeeperid, easiest way is to look for when they join the room, it is normally that number. But it could vary like, instead of it being the whole thing, the first few characters are removed and a * is in place. It could also be in the access list as their nick ID, so just fiddle with it, and see if you can work it out on your own.

 

second answer, just use 
 as you return. so you wanted it to display as you said, you would put Hi $nick ... $+ 
 $+ How you doin ?

 

NOTE: $+ basically means join the previous word to the word, and it is optional to have, so you could remove them if you want.