Script to organize wolfkin scents: Usage: ‘ls’ – lists all current known scents Usage: ‘loc ’ – asks the wolves to find a scent. can be the persons name or the number of the scent in the scent list Usage: ‘reset’ – clears the current scent list #CLASS {Scents} #ALIAS loc {sense @Scent%-1} #ALIAS reset { #VAR ScentNumber 1 {_nodef} {Scents} #VAR ScentList %null {_nodef} {Scents} #DELCLASS ScentRecords #SAY ~ #SAY ~[Scent Codes Reset~] #VAR ScentedPlayers %null } #ALIAS ls { #SAY ~ #SAY ~[Known Scents~:~] #LOOP 1,@ScentNumber {#Say %item( @ScentList, %i)} } #TRIGGER {You sniff slightly and find %1's scent~:~ %2} {#IF (%ismember( %1, @ScentedPlayers) = 0) { #ADDITEM ScentList {@ScentNumber~.~ %1~ ~-~ %2} #VAR Scent%1 {%2} {_nodef} {ScentRecords} #VAR Scent@ScentNumber {%2} {_nodef} {ScentRecords} #ADD ScentNumber 1 #ADDITEM ScentedPlayers %1 } {#NOOP}} #CLASS 0 reset