Alright, tried giving it a shot, any suggestions? This didn't work.

Code:
on *:text:*!item*:#: {
  $read(items.xml, *name> $+ $2- $+ <*)
  %type = $read(items.xml, $calc($readn - 2))
 msg $chan %type
}

Last edited by Borg8401; 27/03/10 09:27 PM.