Public feed #377391

Untitled

public text v1 · immutable
Raw Edit
·published 2007-03-01 18:29 UTC
rendered paste body
on $*:text:/^[.!]setgoal */si:#: { set %goal. [ $+ [ $nick ] ] $2- | /set %goalon. [ $+ [ $nick ] ] on | notice $nick 6Your goal is now7 $2- }

on $*:text:/^[.!]goal */si:#: { 
  if ($2 == $null && %goalon. [ $+ [ $nick ] ] != on { /notice $nick 6You don't have a goal set atm }
  if ($2 == $null && %goalon. [ $+ [ $nick ] ] == on { /notice $nick 7[6Your Goal7] 6Goal: 7 %goal. [ $+ [ $nick ] ] }
  if ($2 != $null && %goalon. [ $+ [ $nick ] ] != on { /notice $nick 6 $+ $2 7doesn't have a goal set atm }
  if ($2 != $null && %goalon. [ $+ [ $nick ] ] == on { /notice $nick 7[6 $+ $2 $+ 's Goal $+ 7]6 Goal: 7 %goal. [ $+ [ $2 ] ] }
}