NEED HELP
so I managed to get the bot to fetch literally anything, the problem is that it will also fetch people that are online at the time. I know there is a way to write it all up so that it will not fetch people and will say it can't do it if it is a person.
that is what I have so far and works great except for the 1 drawback
now, I do remember that is has something to do with the "ison" command or something like that.
on 1:TEXT:!fetch*:#The-Dungeon:/describe #The-Dungeon goes into the TARDIS and gets the $2- that $nick requested and brings the $2- back to $nick
on 1:TEXT:!return*:#The-Dungeon:/describe #The-Dungeon goes to $nick and takes the $2- back into the TARDIS
on 1:TEXT:!fetch*:#The-Dungeon:{
if (!$2) { notice $nick You need to tell me what to fetch! | halt }
if ($2 ison $chan) { notice $nick I cannot fetch a person from the TARDIS. | halt }
/describe #The-Dungeon goes into the TARDIS and gets the $2- that $nick requested and brings the $2- back to $nick
}
on 1:TEXT:!return*:#The-Dungeon:{
if (!$2) { notice $nick You need to tell me what to return! | halt }
if ($2 ison $chan) { notice $nick I cannot return a person to the TARDIS. | halt }
/describe #The-Dungeon goes to $nick and takes the $2- back into the TARDIS
}