All pastes #475141 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-07 08:10 UTC
rendered paste body
on *:TEXT:!money*:#: {
  .notice $nick How many dragon bones? type !bones number
  set %nick [ $+ [ $nick ] ] $nick
}
on *:TEXT:!bones*:#: {
  set %bones [ $+ [ $nick ] ] $2
  .notice $Nick how many dragon hides? type !hides number
}
on *:TEXT:!hides*:#: {
  set %hides [ $+ [ $nick ] ] $2
  .notice $Nick Anything else? type !other price each how many what its called or just type !cash
}
on *:TEXT:!other*:#: {
  set %priceea [ $+ [ $nick ] ] $2
  set %howmany [ $+ [ $nick ] ] $3
  set %wutitem [ $+ [ $nick ] ] $4-
  .notice $Nick Ok you made a profit of $calc(%bones [ $+ [ $nick ] ] * 1400) from the bones and $calc(%hides [ $+ [ $nick ] ] * 1500) from the hides and $calc(%priceea [ $+ [ $nick ] ] * %howmany [ $+ [ $nick ] ]) from the %wutitem [ $+ [ $nick ] ]
}
on *:TEXT:!cash*:#: {
  .notice $Nick Ok you made a profit of $calc(%bones [ $+ [ $nick ] ] * 1400) from the bones and $calc(%hides [ $+ [ $nick ] ] * 1500) from the hides.
}