i don't get it, my bot
Posted by Dark_element
Saturday, September 11, 2004
Description:

on *:text:*:#: {
  if ($1-2 == $+(%trigger. [ $+ [ $chan ] ], set commands *)) {
    set %commands. [ $+ [ $chan ] ] $3- | notice $nick Commands set to: $3-
  }
  elsif ($1-2 == $+(%trigger $+ . [ $+ [ $chan ] ], set trigger)) {
    notice $nick trigger set to: $3
  }
}
oops
Posted by Dark_element
Saturday, September 11, 2004 04:44pm PDT
Whats wrong with that?
wow
Posted by Fubar
Saturday, September 11, 2004 09:56pm PDT
first of all, commands * <-- wildcard would not work in a ==, use iswm.  second of all, u mis-spelled ELSEIF.... its not elsif... third of all, if ur gonna do %trigger.channel, %trigger $+ . would make it %trigger evaluated and then add a . to it... so use %trigger. [ $+ [ $chan ] ]
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world