#CLASS {Info|unexplored} #ALIAS un {#IF (%1) {#CLASS {Info|unexplored|main} 1;scroll;scroll 0;explored;~areas unexplored;report_unexplored = %1} {#SHOW Usage: un ~}} #VAR unexplored_areas {(The Gladiator's Arena|4)|(Masquerade Island|4)|(The Desert Prison|24)|(The Council of the Wyrm|1)|(Oradrin's Chosen|26)|(Qong|5)} #VAR total_explorable {28211} #VAR total_explored {28147} #VAR report_unexplored {} #VAR number_unexplored_areas {6} #VAR number_rooms_left {64} #VAR area_data_length {129} #VAR scroll_setting {0} #TRIGGER {From To%sLock%sBuilder%sArea Name} {unexplored_areas=%null} #REGEX {^-{67}$} {number_rooms_left = 0;area_data_length = %len(@unexplored_areas);number_unexplored_areas = %numitems(@unexplored_areas);#LOOP @number_unexplored_areas {#MATH number_rooms_left @number_rooms_left+@unexplored_areas.%i.2};#IF (@report_unexplored) {#IF (@area_data_length > 700) {@report_unexplored ~@YAreas Unexplored: ~@M@number_unexplored_areas ~@YAreas in the List, prolly too big for channel! ~@YRooms: ~@Y~[~@M@number_rooms_left ~@Yof ~@M@total_explorable~@Y~];scroll @scroll_setting} {@report_unexplored ~@YAreas Unexplored: %replace(%replace(%replace(%replace(%replace(@unexplored_areas,"(The ","("),")|(","~@Y]~@M "),"|"," ~@Y[~@M"),"(","~@M"),")","~@Y]~@M") ~@YRooms: ~@Y~[~@M@number_rooms_left ~@Yof ~@M@total_explorable~@Y~];scroll @scroll_setting}};report_unexplored = %null;#CLASS {Info|unexplored|main} 0} #TRIGGER {Aardwolf has (%d) explorable rooms.} {total_explorable = %1} #TRIGGER {You have explored (%d) ~(%*~) rooms of Aardwolf.} {total_explored = %1} #TRIGGER {You currently display (%d) lines per page.$} {scroll_setting = %1} #TRIGGER {You do not page long messages.} {scroll_setting = 0} #CLASS 0 #CLASS {Info|unexplored|main} {disable} #TRIGGER {(%d) %s(%d)??????? {?.?.?.|%w|%w %w|%w ~& %w} (%s) (%*) %s ~[(*)~]} {#GAG 1;#ADDITEM unexplored_areas (%trim(%4)|%trim(%5))} #CLASS 0