Bot Channel

By DeathGod87 on Dec 30, 2008

Bot Connect

on 1:connect:{
  if (%botchan == $null) /set %botchan $??="please enter the chan for the bot:?"
  if (%botchan != $null) /join %botchan
}

Comments

Sign in to comment.
PuNkTuReD   -  Dec 31, 2008

you could try

on 1:connect:{
  if (!%botchan) { set %botchan $??="please enter the chan for the bot:?" }
  else { join %botchan }
}

you dont need "/" in your scripts
"!%botchan" is the same as checking if "%botchan == $null"

 Respond  
`Green   -  Dec 30, 2008

as i said before go and read some of the tutorials

 Respond  
DeathGod87   -  Dec 30, 2008

sorry :[

 Respond  
napa182   -  Dec 30, 2008

=/ smh

 Respond  
`Green   -  Dec 30, 2008

this is a pointless snippet.

you could just use

on *:connect:{
  join #<room>
}
 Respond  
DeathGod87   -  Dec 30, 2008

:O Yeah..I feel like a noob makeing these scripts...Just hope you find a way of a use for em. :'[(Im not a ripper >;[)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.