View/Edit #7165:SnR

Switch to edit mode.

Name(s): SnR
1:  find = "connected_players"
2:  replace = "connected_players"
3:  for x in [#0..max_object()]
4:    for y in [1..length(verbs(x))]
5:      code = verb_code(x, y)
6:      oops = 0
7:      for line in [1..length(code)]
8:        if (index(code[line], find))
9:          player:tell(x, ":", verbs(x)[y], " line ", line, " -> ", code[line])
10:         code[line] = strsub(code[line], find, replace)
11:         oops = 1
12:       endif
13:       $command_utils:suspend_if_needed()
14:     endfor
15:     if (oops)
16:       set_verb_code(x, y, code)
17:     endif
18:   endfor
19:   suspend(0)
20: endfor
21: player:tell("DONE ", verb)
22: "Last modified by Dax (#789) on Thu Sep 10 20:10:44 1998 EDT."

Verb arguments: none none none
Verb perms: Readable NOT-Debug
Verb owned by: Dax (#789)

You are not logged in.

[home | help | who | search | setup | code]