MashhitDK commented on a Page, Bot Snippet Remade  -  Sep 08, 2011

Haven't gone threw hole script... ooO( not like I would have written it... but ) looks nice...

Would recommend using "elseif" insted of so many "if"'s under each other ->

on @superowner:text:*:#: {
  Tokenize 32 $Strip($1-)
  if ($1- == return to safe mode) { amsg 4B5ot is returning to 4S5afe 4M5ode 10[4C5ommand used by 4S5uper 4O5wner10: 4 $nick 10] | /enable #botscript }
  elseif ($1- == bot lockdown) {  amsg 4B5ot 4L5ock 4D5own has be activated 10[4C5ommand used by 4S5uper 4O5wner10: 4 $nick 10] | /disable #botscript }
  elseif ($1 == op)  { mode $chan +o $2 } 
  elseif ($1 == deop) { mode $chan -o $2 }
  elseif ($1 == mode) { mode $chan $2 }
  elseif ($1 == partall) { partall }
}

And just noticed that ->

if ($1 == identify) { identify pass | timer 1 2 msg $chan i am now identified as of $date at $time }

Remember to edit this ;D

 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.