Duris Wiki : CategoryTriggersScan

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register
Written in WinTin.Net scripting, these use the substitute command to show actual room distances on scan instead of the written descriptions. These were created to clear up confusion during spam scanning or while setting scan to a trigger set during raids or scouting.

#substitute {who is a brief walk away%1} {who is 3 rooms%1} {G|Scan}
#substitute {who is close by%1} {who is 1 room%1} {G|Scan}
#substitute {who is in the distance%1} {who is 5 rooms%1} {G|Scan}
#substitute {who is not far off%1} {who is 2 rooms%1} {G|Scan}
#substitute {who is rather far off%1} {who is 4 rooms%1} {G|Scan}


#substitute = the WinTin command
{who is a brief walk away%1} = this reads the string [who is a brief walk away] and everything until the endline...
{who is 3 rooms%1} = this replace the first argument with [who is 3 rooms] plus whatever folloed until the newline.

Result:

Twink who is a brief walk away in some random direction.
becomes...
Twink who is 3 rooms in some random direction.

Additional, the formatting of the triggering argument allows the scan to keep its color code. A substitute like the following, would be undesireable;

%0who is a brief walk away%1

this substitute would still work, however it would strip the fancy colors from the scan command.