I am trying to make a simple alias/script that will do the following for the MUD I play on.
There is a command in the game called goto and it can be followed by a room number..say 1000. So typing goto 1000 will teleport my character to room number 1000.
What I want to be able to do is simply type gg 100 1000 which will then send to the world:
goto 100
goto 101
goto 102
goto 103
...
all the way to goto 1000.
I am pretty sure this is a simple matter of something like:
^gg %var1 %var2
And in the send lines it will be something like
if %var1 = %var2 then end
otherwise
goto %var1
%var1 = %var1 + 1
then loop that somehow
Any help would be much appreciated. Thanks.
There is a command in the game called goto and it can be followed by a room number..say 1000. So typing goto 1000 will teleport my character to room number 1000.
What I want to be able to do is simply type gg 100 1000 which will then send to the world:
goto 100
goto 101
goto 102
goto 103
...
all the way to goto 1000.
I am pretty sure this is a simple matter of something like:
^gg %var1 %var2
And in the send lines it will be something like
if %var1 = %var2 then end
otherwise
goto %var1
%var1 = %var1 + 1
then loop that somehow
Any help would be much appreciated. Thanks.