Skip to content
Outlands Hub

Razor script

Guards Bank Room

by oakman8490 · 60 lines
Download

Created by Oak [KoU] ## Script that will call the guards, open your bank vault, and quickly enter your room (regardless of whether in town or not. Change the names of the characters to match those of the ones that are on the account that…

Guards Bank Room.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/59de7102-58f6-431a-9ff6-4ff31325c9a0 for latest2# Automation by Jaseowns3## Script: Guards Bank Room4## Created by: oakman8490#05#############################################6 7## Created by Oak [KoU] ##8//Script that will call the guards, open your bank vault, and quickly enter your room (regardless of whether in town or not.9//Change the names of the characters to match those of the ones that are on the account that owns the rental room.10 11//Room # -  Default is 100, but may need to change it if you are a friend/co-owner to multiple rooms12@setvar! roomSelection 10013 14say "Guards Bank Room"15 16@clearignore17for 2018    if findtype 400|401 'ground' -1 -1 10 as npc19        getlabel npc npcLabel20        if 'house steward' in npcLabel21            @setvar! inTown 022        elseif 'innkeeper' in npcLabel23            @setvar! inTown 124        else 25            @setvar! inTown 326        endif27        @ignore! npc28        if inTown = 329            //nothing30        else 31            break32        endif33    endif34endfor35 36if inTown = 137    @setvar! innRoomResponse 538elseif inTown = 039    @setvar! innRoomResponse 240elseif inTown = 341    stop42endif43 44waitforgump 2393832411 100045 46if name = "CharacterA"47    gumpresponse 448elseif name = "CharacterB"49    gumpresponse 450elseif name = "CharacterC"51    gumpresponse 452elseif name = "CharacterD"53    gumpresponse 454elseif name = "CharacterE"55    gumpresponse 456else 57    gumpresponse innRoomResponse58    waitforgump 2393832411 100059    gumpresponse roomSelection60endif