//chose the stats
IF ~~ THEN BEGIN 5 SAY @34
IF ~Global("gt#pts", "GLOBAL", 0)~ REPLY @47 EXIT
IF ~GlobalGT("gt#pts", "GLOBAL", 0) AND
CheckStat(LastTalkedToBy, 255, TRAPS) AND
CheckStat(LastTalkedToBy, 255, DETECTILLUSIONS) AND
CheckStat(LastTalkedToBy, 255, SETTRAPS) AND
CheckStat(LastTalkedToBy, 255, LOCKPICKING) AND
CheckStat(LastTalkedToBy, 255, PICKPOCKET) AND
CheckStat(LastTalkedToBy, 255, HIDEINSHADOWS) AND
CheckStat(LastTalkedToBy, 255, STEALTH)~ REPLY @46 EXIT
//detect traps
IF ~CheckStat(LastTalkedToBy, 254, TRAPS) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, TRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, TRAPS) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, TRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, TRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, TRAPS) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, TRAPS) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, TRAPS) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, TRAPS) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @37 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#TRP5", LastTalkedToBy)~ GOTO 5
//detect illusions
IF ~CheckStat(LastTalkedToBy, 254, DETECTILLUSIONS) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, DETECTILLUSIONS) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, DETECTILLUSIONS) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, DETECTILLUSIONS) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, DETECTILLUSIONS) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, DETECTILLUSIONS) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @38 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#DIL5", LastTalkedToBy)~ GOTO 5
//disarm traps
IF ~CheckStat(LastTalkedToBy, 254, SETTRAPS) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, SETTRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, SETTRAPS) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, SETTRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, SETTRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, SETTRAPS) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, SETTRAPS) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, SETTRAPS) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, SETTRAPS) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @39 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#STP5", LastTalkedToBy)~ GOTO 5
//open locks
IF ~CheckStat(LastTalkedToBy, 254, LOCKPICKING) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, LOCKPICKING) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, LOCKPICKING) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, LOCKPICKING) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, LOCKPICKING) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, LOCKPICKING) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @40 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#LPK5", LastTalkedToBy)~ GOTO 5
//pickpockets
IF ~CheckStat(LastTalkedToBy, 254, PICKPOCKET) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, PICKPOCKET) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, PICKPOCKET) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, PICKPOCKET) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, PICKPOCKET) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT4", LastTalkedToBy)~ GOTO 5
IF ~OR(2) !Class(LastTalkedToBy, BARD_ALL) CheckStatGT(LastTalkedToBy, 99, PICKPOCKET) CheckStatLT(LastTalkedToBy, 251, PICKPOCKET) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @41 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#PPT5", LastTalkedToBy)~ GOTO 5
//hide in shadows
IF ~CheckStat(LastTalkedToBy, 254, HIDEINSHADOWS) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, HIDEINSHADOWS) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, HIDEINSHADOWS) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, HIDEINSHADOWS) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, HIDEINSHADOWS) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS4", LastTalkedToBy)~ GOTO 5
IF ~OR(2) !Class(LastTalkedToBy, RANGER_ALL) CheckStatGT(LastTalkedToBy, 98, HIDEINSHADOWS) CheckStatLT(LastTalkedToBy, 251, HIDEINSHADOWS) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @42 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#HDS5", LastTalkedToBy)~ GOTO 5
//move silently
IF ~CheckStat(LastTalkedToBy, 254, STEALTH) AND GlobalGT("gt#pts", "GLOBAL", 0)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, STEALTH) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 253, STEALTH) AND GlobalGT("gt#pts", "GLOBAL", 1)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, STEALTH) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, STEALTH) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 252, STEALTH) AND GlobalGT("gt#pts", "GLOBAL", 2)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStat(LastTalkedToBy, 251, STEALTH) AND GlobalGT("gt#pts", "GLOBAL", 3)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS4", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 1)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -1) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS1", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 2)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -2) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS2", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 3)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -3) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS3", LastTalkedToBy)~ GOTO 5
IF ~CheckStatLT(LastTalkedToBy, 251, STEALTH) AND Global("gt#pts", "GLOBAL", 4)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -4) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS4", LastTalkedToBy)~ GOTO 5
IF ~OR(2) !Class(LastTalkedToBy, RANGER_ALL) CheckStatGT(LastTalkedToBy, 98, STEALTH) CheckStatLT(LastTalkedToBy, 251, STEALTH) AND GlobalGT("gt#pts", "GLOBAL", 4)~ REPLY @43 DO ~DialogueIncrementGlobal("gt#pts", "GLOBAL", -5) SetTokenGlobal("gt#pts","GLOBAL","TPOINTS") ApplySpellRES("GT#MVS5", LastTalkedToBy)~ GOTO 5
END